Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70846

Build fails if stage is skipped

XMLWordPrintable

      I have a pipeline, defined in a Jenkinsfile, with a release stage that executes conditionally: it has a when clause that lets it run only for the main branch. This works, but for all other branches the builds are recorded as failed, even though all the stages except release ran successfully. It looks like skipping any stage is regarded as failure, which is wrong.

            Unassigned Unassigned
            guyrixon Guy Rixon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: