[JIRA] (JENKINS-60773) Milestone cancelling old builds before passing next milestone

0 views
Skip to first unread message

taylorp36@gmail.com (JIRA)

unread,
Jan 14, 2020, 4:24:03 PM1/14/20
to jenkinsc...@googlegroups.com
Taylor Patton created an issue
 
Jenkins / Bug JENKINS-60773
Milestone cancelling old builds before passing next milestone
Issue Type: Bug Bug
Assignee: Unassigned
Components: pipeline
Created: 2020-01-14 21:23
Priority: Minor Minor
Reporter: Taylor Patton

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages