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

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

    XMLWordPrintable

Details

    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

            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".

            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".
            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?

            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?

            closing because of no feedback

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: