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

Build steps cannot be executed consecutively, even if the advanced settings of ConditionStep are used.

      I can not continue my buildsteps even if I use a Conditional step and set On evaluation failure to Run.

      The core requirement is to enable a task to perform the next step even if the previous step fails.

      It not works on my old version 2.446, and it continues to 2.485

      I don't have any more version to test, and I'm in need of support.

      I also tested it on 2.426 and 2.263.4, maybe it never works as my expection.

       

          [JENKINS-74877] Build steps cannot be executed consecutively, even if the advanced settings of ConditionStep are used.

          Pinned comments

          Pinned by qingyi

          qingyi added a comment -

          OK, my configuration and log is right above.The second step did not continue when the first step failed, even if a RUN situation is seted on evaluation failure.

          qingyi added a comment - OK, my configuration and log is right above.The second step did not continue when the first step failed, even if a RUN situation is seted on evaluation failure.

          All comments

          Mark Waite added a comment -

          Please provide enough details so that others can duplicate the issue from a fresh installation of Jenkins. "How to report an issue" includes detailed instructions on the type of information that is needed.

          Mark Waite added a comment - Please provide enough details so that others can duplicate the issue from a fresh installation of Jenkins. "How to report an issue" includes detailed instructions on the type of information that is needed.

          Pinned by qingyi

          qingyi added a comment -

          OK, my configuration and log is right above.The second step did not continue when the first step failed, even if a RUN situation is seted on evaluation failure.

          qingyi added a comment - OK, my configuration and log is right above.The second step did not continue when the first step failed, even if a RUN situation is seted on evaluation failure.

          Suyash added a comment -

          catkingfirst are you using the conditional build-step plugin? 

          Suyash added a comment - catkingfirst are you using the conditional build-step plugin? 

          qingyi added a comment -

          @kaarma ,yes. It seems this plugin can only continue failure in its block. Conditional step (multiple)  will  continue inner execution after one inner step failure. They can not affect buildsteps outside.

          qingyi added a comment - @ kaarma ,yes. It seems this plugin can only continue failure in its block. Conditional step (multiple)  will  continue inner execution after one inner step failure. They can not affect buildsteps outside.

            Unassigned Unassigned
            catkingfirst qingyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: