Reputation:
I want to copy files in a post build step only when maven release gets performed.
Unfortunately, there are no actions (such as a post build step or pre build step) on clicking Perform Maven release link in Jenkins.
Upvotes: 2
Views: 4662
Reputation: 360
There is an Jenkins Release Plugin which will do for what you are searching. It's an additional Jenkins Plugin for the plugin "Maven Release".
The Release Plugin adds Pre/Post Build Configuration Dialog to the Build Enviroment Configuration Dialog. Can be enabled with checking the checkbox "Release Build configration".
Upvotes: 1