Hello i'd like to know if in declarative pipeline there is a way to use conditions like failure and/or success in a generic stage (example: stage('build docker image)), the idea is to make the execution of a stage (here building a docker image) conditional to the success or failure of the previous stage. If those conditions are not usable in a generic stage, are there ways to still do this in a declarative pipeline Jenkisnfile?
I could use post, but i would like to know if i can use a much more explicit stage for building the image. regards Eddard -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7b5b893f-1260-4f78-99ac-daba621f68c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.