I just got an email from someone asking for details about this script.
I made some modifications since. Instead of getting artifacts through wget,
I promote directly those stored in Jenkins archive folder. The script is
also managing multi-modules projects now.
There are 2 scripts :
- The main script : http://pastebin.com/5A75i1aM
- The script for promoting an artifact (called by main script for each
module) : http://pastebin.com/6ynJCjYm
Ideally, this should be a Jenkins plugin instead of some bash scripts...
If I find time, i'll try to do this.
--
View this message in context: http://jenkins.361315.n4.nabble.com/Transform-a-Maven-snapshot-artifact-into-a-release-when-promoting-a-build-tp3837168p3894120.html
Sent from the Jenkins users mailing list archive at Nabble.com.
--
View this message in context: http://jenkins.361315.n4.nabble.com/Transform-a-Maven-snapshot-artifact-into-a-release-when-promoting-a-build-tp3837168p3894159.html