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

MultiJob Plugin not recognizing job failures for continuation condition

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • multijob-plugin
    • Jenkins ver. 1.554.10.1 (Jenkins Enterprise by CloudBees 14.05)
      RHEL 6.5
      java version "1.7.0_51"

      We have setup a multijob build with multiple phases in which each job should move to the next phase in the event of a failure. When a failure is detected, the multijob is continuing to execute the downstream jobs rather than exit. I tested the reverse with continuing on a success and that works but not the continue on a failure.

      Please advise, images of the job run are attached.

          [JENKINS-25474] MultiJob Plugin not recognizing job failures for continuation condition

          Daniel Beck added a comment -

          Jira is an issue tracker, not a support site. If you're asking for advice, try #jenkins on Freenode, or the jenkinsci-users mailing list.

          Daniel Beck added a comment - Jira is an issue tracker, not a support site. If you're asking for advice, try #jenkins on Freenode, or the jenkinsci-users mailing list.

          This is a bug, I work on a fix.

          Mathieu Cantin added a comment - This is a bug, I work on a fix.

          Bryan Grant added a comment -

          I do recognize this is not a support site but don't most identified defects come from a question starting with support? I provided ample information to determine if this was a bug which per Mathieu it is. I look forward to the fix!

          Bryan Grant added a comment - I do recognize this is not a support site but don't most identified defects come from a question starting with support? I provided ample information to determine if this was a bug which per Mathieu it is. I look forward to the fix!

          Daniel Beck added a comment -

          Most issues reported against Jenkins plugins are around for a while before a fix is implemented and released, making this the wrong site when asking for timely advice (which is how I interpreted part of your report). So my note in this case was to let you know about other venues more suited for that (e.g. for workarounds to your problem).

          Daniel Beck added a comment - Most issues reported against Jenkins plugins are around for a while before a fix is implemented and released, making this the wrong site when asking for timely advice (which is how I interpreted part of your report). So my note in this case was to let you know about other venues more suited for that (e.g. for workarounds to your problem).

          I considers this is a bug because in the code, the condition "failure" is success, unstable, failure or aborted, I don't find this logical.

          Mathieu Cantin added a comment - I considers this is a bug because in the code, the condition "failure" is success, unstable, failure or aborted, I don't find this logical.

          I have a fix in https://github.com/harcher81/tikal-multijob-plugin/commit/ce0c0fe7cf26f0d5f134a669eea02fc0a64351b4, but I think you doesn't can use this function for your use.

          Mathieu Cantin added a comment - I have a fix in https://github.com/harcher81/tikal-multijob-plugin/commit/ce0c0fe7cf26f0d5f134a669eea02fc0a64351b4 , but I think you doesn't can use this function for your use.

          Code changed in jenkins
          User: Mathieu Cantin
          Path:
          src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java
          src/main/webapp/help-continuationCondition.html
          http://jenkins-ci.org/commit/tikal-multijob-plugin/ce0c0fe7cf26f0d5f134a669eea02fc0a64351b4
          Log:
          Fix JENKINS-25474

          Clarify the name of condition and the help button.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mathieu Cantin Path: src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java src/main/webapp/help-continuationCondition.html http://jenkins-ci.org/commit/tikal-multijob-plugin/ce0c0fe7cf26f0d5f134a669eea02fc0a64351b4 Log: Fix JENKINS-25474 Clarify the name of condition and the help button.

            Unassigned Unassigned
            cmutt78 Bryan Grant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: