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 exce
You should be able to do that with the Batch Task plugin.
An alternative can also be Post build task plugin.