Execute Shell Script after post build in Jenkins

topgun picture topgun · Jun 22, 2012 · Viewed 134.2k times · Source

I am trying to execute a shell script if either the build pass or fails after post-build in Jenkins. I cannot see this option in post build to execute some shell script except for running a target.

Answer

Daniel  Magnusson picture Daniel Magnusson · Oct 11, 2012

Very easily done with Post build task plugin.

Jenkins - "Post build task" option