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

MultiJob treats not started builds as failure

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Postponed
    • Component/s: multijob-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.38
      Multijob plugin 1.26
    • Similar Issues:

      Description

      Hi.

      We have Jenkins jobs which use multijob plugin and we start some downstream jobs conditionally.
      It means that some jobs configured in MultiJob will never start, some may finish successfully or be unstable.
      So once there is a downstream job which is disabled via condition ('enableCondition' and 'condition' XML options) the MultiJob build is always reported as failed no matter what are the results of builds which were actually executed.

        Attachments

          Activity

          Hide
          afunix Pavel Malyshev added a comment -

          I believe this is due to MultiJobRunnerImpl.evaluateResult() checks only for "isWorseThan()", but does not check if a build was conditionally disabled.
          Or conditionally disabled builds should not be populated with addSubBuild()..

          Show
          afunix Pavel Malyshev added a comment - I believe this is due to MultiJobRunnerImpl.evaluateResult() checks only for "isWorseThan()", but does not check if a build was conditionally disabled. Or conditionally disabled builds should not be populated with addSubBuild()..
          Hide
          yorammi Yoram Michaeli added a comment -

          Closing issue as part of tikal-multijob-plugin issues cleanup.
          If still relevant, please open a matching issue in https://github.com/jenkinsci/tikal-multijob-plugin/issues (you can refer to this issue in its description)

          Show
          yorammi Yoram Michaeli added a comment - Closing issue as part of tikal-multijob-plugin issues cleanup. If still relevant, please open a matching issue in https://github.com/jenkinsci/tikal-multijob-plugin/issues (you can refer to this issue in its description)

            People

            • Assignee:
              Unassigned
              Reporter:
              afunix Pavel Malyshev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: