-
Bug
-
Resolution: Won't Fix
-
Major
-
Jenkins ver 1.580
Windows NT v6.1 Server
Plugins:
token-macro 1.8.1; run-condition 1.0; conditional-buildstep 1.3.3
I am trying to execute a batch command on failure of a build (triggered by another batch command exit). The conditional step is not triggered for 'Current build status' (Failed, Failed) or 'Always'.
The only time when the conditional statement is triggered is if the triggering batch command exits successfully and 'Current build status' is set to (Success, Success) or 'Always'.
In short, the conditional step is not being triggered for failure cases. Attaching a screenshot of the build configuration.