Status: Resolved (View Workflow)
Resolution: Won't Fix
Environment:Jenkins ver 1.580
Windows NT v6.1 Server
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.
|Field||Original Value||New Value|
|Summary||Conditional step (single) note processing for Failed build||Conditional step (single) not processing for Failed build|
|Resolution||Won't Fix [ 2 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Workflow||JNJira [ 161345 ]||JNJira + In-Review [ 196726 ]|