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

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

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: