Execute Shell Script after post build in Jenkins

jenkins, jenkins-plugins, shell

Solution

Very easily done with Post build task plugin.

Problem

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.

Original source