[ https://issues.jenkins-ci.org/browse/JENKINS-12128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159237#comment-159237 ]
dogfood commented on JENKINS-12128: ----------------------------------- Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png! [plugins_m2release #66|http://ci.jenkins-ci.org/job/plugins_m2release/66/] [FIXED JENKINS-12128] expose dryRun flag, release and dev version as env variables (Revision c78a508bcb9634c01b582ea7c3791fae86eeded0) Result = SUCCESS imod : Files : * src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseAction.java * src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java > Expose releaseVersion and developmentVersion as environment variables > --------------------------------------------------------------------- > > Key: JENKINS-12128 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12128 > Project: Jenkins > Issue Type: Improvement > Components: m2release > Affects Versions: current > Environment: Not applicable > Reporter: Jason Spotswood > Assignee: teilo > Labels: envinronment-variables > > When building a Maven release, the parameters Release Version and Development > Version are passed to the Maven release command via -DreleaseVersion and > -DdevelopmentVersion respectively. > It would be extremely handy to expose these as environment variables so that > they can be accessed throughout the job configuration; for example just like > the variable WORKSPACE. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira