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

Block when Downstream breaks Block when Upstream

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      If a project has both "Block build when upstream project is building" and "Block build when downstream project is building" selected, it will only block when downstream projects are building.

      Example:
      ProjectA -> ProjectB and both have "Block build when upstream project is building" and "Block build when downstream project is building" selected.

      If ProjectB is running and ProjectA is launched, ProjectA blocks as expected.
      If ProjectA is running and ProjectB is launched, Project B does not block. It does not respect the "Block when upstream project is building" option.

        Attachments

          Activity

          Hide
          piranhaj James Bengeyfield added a comment -

          In addition to above, if both projects are queued at the same time (SCM trigger or similar), Project B will be built first.

          Show
          piranhaj James Bengeyfield added a comment - In addition to above, if both projects are queued at the same time (SCM trigger or similar), Project B will be built first.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractProject.java
          http://jenkins-ci.org/commit/core/3f9e65d825770e47bbfd76c77c17a0c4dae6844e
          Log:
          [FIXED JENKINS-8968] When both "block build when upstream/downstream is building" are checked,the upstream block check wasn't taking effect.

          Compare: https://github.com/jenkinsci/jenkins/compare/4e9c9bd...3f9e65d

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/AbstractProject.java http://jenkins-ci.org/commit/core/3f9e65d825770e47bbfd76c77c17a0c4dae6844e Log: [FIXED JENKINS-8968] When both "block build when upstream/downstream is building" are checked,the upstream block check wasn't taking effect. Compare: https://github.com/jenkinsci/jenkins/compare/4e9c9bd...3f9e65d
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #592
          [FIXED JENKINS-8968] When both "block build when upstream/downstream is building" are checked,the upstream block check wasn't taking effect.

          Kohsuke Kawaguchi : 3f9e65d825770e47bbfd76c77c17a0c4dae6844e
          Files :

          • core/src/main/java/hudson/model/AbstractProject.java
          • changelog.html
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #592 [FIXED JENKINS-8968] When both "block build when upstream/downstream is building" are checked,the upstream block check wasn't taking effect. Kohsuke Kawaguchi : 3f9e65d825770e47bbfd76c77c17a0c4dae6844e Files : core/src/main/java/hudson/model/AbstractProject.java changelog.html
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/AbstractProject.java
          http://jenkins-ci.org/commit/jenkins/34fde3048316040fdb7e859eea3a0af24dd4ac85
          Log:
          [FIXED JENKINS-8968] When both "block build when upstream/downstream is building" are checked,the upstream block check wasn't taking effect.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/AbstractProject.java http://jenkins-ci.org/commit/jenkins/34fde3048316040fdb7e859eea3a0af24dd4ac85 Log: [FIXED JENKINS-8968] When both "block build when upstream/downstream is building" are checked,the upstream block check wasn't taking effect.

            People

            • Assignee:
              Unassigned
              Reporter:
              klivian klivian
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: