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

block-when-upstream-building does not handle dependant builds

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None
    • Hudson ver. 1.347

      I have enabled block-when-upstream-building on all my maven2 projects.

      Lets say I have the following project structure:
      (-> means depends on)

      A1 -> A2
      A2 -> A3

      When I do a commit that includes changes in both A1 and A3, A1 does wait until A3 is finished. The problem is though, A2 is triggered by the change in A3 (Set to build on snapshot dependency changes). So Hudson ends up building A1 twice.

      So block-when-upstream-building does only half of the blocking necessary.

      While writing this, I got a bit unsure if this is a bug or a feature request. Please correct me if I'm wrong.

          [JENKINS-5737] block-when-upstream-building does not handle dependant builds

          olemartin created issue -

          mdonohue added a comment -

          This looks like another symptom of the race condition documented in JENKINS-5150. The feature is already intended to handle transitive upstream projects.

          mdonohue added a comment - This looks like another symptom of the race condition documented in JENKINS-5150 . The feature is already intended to handle transitive upstream projects.
          mdonohue made changes -
          Link New: This issue duplicates JENKINS-5150 [ JENKINS-5150 ]
          mdonohue made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135829 ] New: JNJira + In-Review [ 203694 ]

            Unassigned Unassigned
            olemartin olemartin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: