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

Doesn't mark build as unstable or failed if run condition fails

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Configure a job using conditional buildstep plugin.
      Choose a run condition, one that can fail.
      Choose option "On evaluation failure Mark build unstable".

      Make the evaluation of the condition to fail.
      Start the job.
      After finishing the job, the buildstep is not runned, as expected, but the build is not marked as unstable.
      The same happens if "Mark build as failure" option is selected.The build is always marked as succes without taking into account the value of this option.

        Attachments

          Issue Links

            Activity

            Hide
            bap bap added a comment -

            The "on evaluation failure" option allows you to select what happens if the run condition could not be evaluated to true or false - not what happens when the run condition says "don't run".

            Show
            bap bap added a comment - The "on evaluation failure" option allows you to select what happens if the run condition could not be evaluated to true or false - not what happens when the run condition says "don't run".
            Hide
            bap bap added a comment -

            Cannot reproduce - can you provide an example of a run condition with the content that you use to make the evaluation fail?

            Show
            bap bap added a comment - Cannot reproduce - can you provide an example of a run condition with the content that you use to make the evaluation fail?
            Hide
            domi Dominik Bartholdi added a comment -

            closing because of no feedback

            Show
            domi Dominik Bartholdi added a comment - closing because of no feedback

              People

              Assignee:
              bap bap
              Reporter:
              ace Adrian Vlad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: