There are scenarios in which it’s useful to enable or disable stages in a Jenkins pipeline depending on the build status. This is about having different stages in a Jenkinsfile that will be executed depending on the buildResult
and stageResult
of the Jenkins pipeline and the different stages inside the Jenkins pipeline. Continue reading
Running Jenkins stages depending on the pipeline status
Reply