Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27149

Conditional step (single) not processing for Failed build

XMLWordPrintable

      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.

            domi Dominik Bartholdi
            aniketp Aniket Potdar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: