Jenkins - Run Shell as a post build action

I am trying to use the "Execute shell" from the "build action" as a post build task. Is it possible?

+7
jenkins
source share
2 answers

I think you are looking for the PostBuild Script Plugin . After installing this plugin, you can add the post-action "Execute Shell" by following these steps:

Add an action after assembly → Run a set of scripts → Add build step → Run a shell.

enter image description here

+7
source share

Yes, this is possible through one postbuild-task plugin. Thanks to this, you can run command or batch scripts after the build phase.

+2
source share

All Articles