We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c06ee commit 6c118feCopy full SHA for 6c118fe
pkg/runner/run_context.go
@@ -225,7 +225,14 @@ func (rc *RunContext) newStepExecutor(step *model.Step) common.Executor {
225
common.Logger(ctx).Infof(" \u2705 Success - %s", sc.Step)
226
} else {
227
common.Logger(ctx).Errorf(" \u274C Failure - %s", sc.Step)
228
- rc.StepResults[rc.CurrentStep].Success = false
+
229
+ if sc.Step.ContinueOnError {
230
+ common.Logger(ctx).Infof("Failed but continue next step")
231
+ err = nil
232
+ rc.StepResults[rc.CurrentStep].Success = true
233
+ } else {
234
+ rc.StepResults[rc.CurrentStep].Success = false
235
+ }
236
}
237
return err
238
0 commit comments