I am trying to use the "Execute shell" from the "build action" as a post build task. Is it possible?
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.
Yes, this is possible through one postbuild-task plugin. Thanks to this, you can run command or batch scripts after the build phase.