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

Multijob : Phase job blocks if MultiJob parent comes in the queue

    Details

    • Similar Issues:

      Description

      I have a multi job job say 'A', 'A' defines three phases,

      Phase 1 - Run job 'B'
      Phase 2 - Run job 'C','D','E'
      Phase 3 - Run job 'F' - clean up job
      I am facing a problem wherein when 'B' runs, it sometime times blocks if 'A' comes back in build queue (due to scm change). So this becomes a deadlock for me, 'A' build 1 runs which builds 'B' build 1. However, 'A' build 2 comes in pipeline (due to scm change or upstream project change). 'B' waits endlessly since 'A' build 2 is in waiting queue.

      'A' build 1 ----- waits for --> 'B' build 1 ------- blocked by -------> 'A' build 2 in build queue

      Similar issue reported earlier by different user is
      https://groups.google.com/forum/#!topic/jenkinsci-users/jkFWsiw6V0c

      And

      Please help.

      Thanks

        Attachments

          Activity

          Hide
          gauravjoshi Gaurav Joshi added a comment -

          Any view on this please ?

          Show
          gauravjoshi Gaurav Joshi added a comment - Any view on this please ?
          Hide
          gauravjoshi Gaurav Joshi added a comment -

          anything ?

          Show
          gauravjoshi Gaurav Joshi added a comment - anything ?
          Hide
          johntiger1 John Chen added a comment -

          interested

          Show
          johntiger1 John Chen added a comment - interested
          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:
              gauravjoshi Gaurav Joshi
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: