spinnaker: Allow Jenkins stage to continue on failed builds

There is a nice option in the Check Precondition stage to enable/disable “Fail Pipeline”. See screenshot:

image

It would be nice to have this same feature on the Jenkins stage. This would allow users to run a different step based on the results of the Jenkins job. For example, I may want to scale down an ASG if my integration tests (which I run on Jenkins) fail.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 22 (7 by maintainers)

Most upvoted comments

@robfletcher wrote: “Do you mean that if Jenkins stage A succeeds then stage B runs, otherwise stage C runs?”

Could you please give an example code snippet of how to use this feature in a Jenkins Pipeline Script?

On deck UI, renamed option as “Continue Pipeline”. Let me know your comments. see mockup: option-to-continue-pipeline-with-failed-jenkins