I'm executing a shell script afterwards. Actually what it is it should test first my build (maven build) and if the tests fail the script should be not executed.
I put it into the Post Steps...
Actually publishers is empty:
<publishers/>
There are stored postbuilders:
<postbuilders>
<hudson.tasks.Shell>
<command>env && ./jdeploy $Server</command>
</hudson.tasks.Shell>
</postbuilders>
In the jenkins web interface it is:
Post Steps
Run only if build succeeds
Run only if build succeeds or is unstable
Run regardless of build result
Should the post-build steps run only for successful builds, etc.
Execute shell
Command env && ./jdeploy $Server
I'm having the same issue on my builds.
Please Jenkins' team take about it, it's so annoying .... dev team is complain a lot about it for me.