• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • None
    • Ubuntu 12.04
      Jenkins official debian package 1.575
      Conditional buildstep plugin 1.3.3

      I'm testing this plugin and the string comparisson I'm doing seems to work fine.

      However I would like to cancel the build if the comparisson doesn't match. It actually cancels the build but it always ends as Success. I've tried the "on evaluation failure" options "falid the build" and "mark the build unstable" but it always ends as success.

      Although the build is actually cancelled I would really need it to be marked as failed so it doesn't cause confussion to the person executing the build.

      This is the text it appears in the output:


      Run condition [Strings match] preventing perform for step [BuilderChain]
      Finished: SUCCESS

      Thanks

          [JENKINS-24242] On evaluation failure is not being honored

          Daniel Beck added a comment -

          Not a defect:

          "Evaluation failure" means that an error occurs when testing the condition (e.g. matching a syntactically invalid regular expression). This is different from match / mismatch of the string.

          Daniel Beck added a comment - Not a defect: "Evaluation failure" means that an error occurs when testing the condition (e.g. matching a syntactically invalid regular expression). This is different from match / mismatch of the string.

          Daniel Beck added a comment -

          Workaround: Add another conditional buildstep with inverted condition that runs a shell/batch step with exit 1.

          Daniel Beck added a comment - Workaround: Add another conditional buildstep with inverted condition that runs a shell/batch step with exit 1 .

          Jason Tsai added a comment -

          is it possible for me to mark the status as "ABORTED" or "SKIPPED" (show a grey ball in status) instead of the default "SUCCESS"? (blue ball)

          Jason Tsai added a comment - is it possible for me to mark the status as "ABORTED" or "SKIPPED" (show a grey ball in status) instead of the default "SUCCESS"? (blue ball)

            domi Dominik Bartholdi
            luisico Luis Bosque
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: