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

Milestone aborting old builds before passing next milestone

      I may be misunderstanding how to use the milestone, sorry in advance if I am.

      I have a simple pipeline configured as follows:

       

      node('some-node') {
          stage('First') {
              milestone 1
              input(id: 'input', message: 'Deploy?')
          }
          stage('Second') {
              milestone 2
          }
          
      }
      

      If I have builds 1 and 2 sitting at the input step, and I "reject" build #2 so that it does not proceed any further, build #1 is still automatically aborted. This does not make sense to me, because build #2 has not reached "milestone 2". Please advise.

          [JENKINS-60773] Milestone aborting old builds before passing next milestone

          Taylor Patton created issue -
          Taylor Patton made changes -
          Summary Original: Milestone cancelling old builds before passing next milestone New: Milestone aborting old builds before passing next milestone
          Taylor Patton made changes -
          Component/s New: pipeline-milestone-step-plugin [ 21448 ]
          Component/s Original: pipeline [ 21692 ]
          Taylor Patton made changes -
          Component/s New: pipeline-input-step-plugin [ 21708 ]
          Taylor Patton made changes -
          Environment New: Jenkins 2.204.1
          Milestone Step Plugin 1.3.1
          Input Step Plugin 2.11

            Unassigned Unassigned
            taylorp36 Taylor Patton
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: