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

[Pipeline] Pipeline step to exit the build immediately as a success

      It would be convenient if there was a pipeline step that would exit the run immediately, but not have it be necessarily be a failure.

      This would be useful in situations where a run determines it no longer has work to do, and so it should end immediately as success (or whatever the current result state is).
      If we have multiple such decision points in a build, doing this with conditionals gets incredibly messy quite quickly.

          [JENKINS-41197] [Pipeline] Pipeline step to exit the build immediately as a success

          Sean Sutherland created issue -
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-27092 [ JENKINS-27092 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          J Knurek made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          James Dumay made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-2461 (Web Link)" [ 18311 ]

            Unassigned Unassigned
            ssutherland Sean Sutherland
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: