Hi If I implement milestone in stage like: https://jenkins.io/blog/2016/10/16/stage-lock-milestone/
stage('Build') { milestone() echo "Building" } stage('Test') { milestone() echo "Testing" } And I execute a release: maven release:prepare -DreleaseVersion=X -Dtag=X -DdevelopmentVersion=X-SNAPSHOT Jenkins will execute 2 concurrent builds: build 1 with pom using version=X => the release: we want release artifacts created and full pipeline build 2 with pom using version=SNAPSHOT The problem with milestone is jenkins will not execute sometimes the release build 1 as build 2 is newer and do not deploy 'release' artifact and the full pipeline like a docker image. What could be the recommendation using milestone? Request could be milestone do not kill 'release' build. Just optimize snapshot builds -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/306bf80c-4144-45a8-ace8-f93dfadf3bef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.