I'm not using a Jenkinsfile, but the solution I arrived at was to have a boolean "Release" build parameter. When checked, this parameter would skip the normal CI SNAPSHOT build and initiate a release. My stages when
Source Checkout -> SNAPSHOT Build -> Stage Release -> Release Build The "Stage Release" reads the pom and presents inputs for the build numbers. Does that help? On Wednesday, August 31, 2016 at 3:46:05 PM UTC-4, Harsha Adiga wrote: > > Is there a way to make the Perform Maven Release option visible under the > job created using Jenkinsfile? I have a job that is created manually and it > has this option set by selecting the Maven release build option in > Configure job->Build environment settings. I am trying to convert this > manual job to pipeline job using Jenkinsfile. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cebb9d28-93a6-4d86-ac34-6f0c13839281%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
