user244333
user244333

Reputation:

How to add a post build step for maven release in Jenkins?

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

Answers (2)

Tobias Hochgürtel
Tobias Hochgürtel

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

Cristina Galán
Cristina Galán

Reputation: 78

Maybe you can use that plugin: Post build task.

Upvotes: 0

Related Questions