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

Conditional step (single) not processing for Failed build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          aniketp Aniket Potdar created issue -
          aniketp Aniket Potdar made changes -
          Field Original Value New Value
          Summary Conditional step (single) note processing for Failed build Conditional step (single) not processing for Failed build
          domi Dominik Bartholdi made changes -
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 161345 ] JNJira + In-Review [ 196726 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: