Promoting a build with $POM_VERSION?

16 views
Skip to first unread message

James Green

unread,
Oct 28, 2015, 11:33:20 AM10/28/15
to jenkins...@googlegroups.com
We have a Maven job to which I have added a "Promote builds when" clause allowing someone to pick a build and promote it.

This promotion triggers a deployment job. This deployment job appears pretty naive. Is there any way of getting the Maven project version into here? From my limited understanding, by the time the promotion occurs the $POM_VERSION has already disappeared as it is not executed at the point of build.

Thanks,

James

Reply all
Reply to author
Forward
0 new messages