Parallel from build flow plugin never ends

44 views
Skip to first unread message

alexmkv

unread,
May 4, 2016, 3:28:35 AM5/4/16
to Jenkins Users

We have one job that executes several other using build flow jenkins plugin.

Main points of used flow DSL:

def parallelJobs = [];
jobParams.each { 
  ...
  parallelJobs.add({
    res = build(jobName
      , PARAM_NAME: param_value
      ... another_params ...
     )
   })
}
parallel(parallelJobs)

In log of this job I can see schedule and start of all added jobs, but not completion of them (most of them completed, but some just lost). If I check individual logs for not completed jobs they are really finished, but parent job doesn't see this, parallel never ends and everythings hangs forever.

For long time this job worked fine, but for now it hangs for every build. (There was several changes but for now it's difficult to find reason).

Stefan Thomasson

unread,
May 5, 2016, 1:09:33 PM5/5/16
to jenkins...@googlegroups.com
Hi,
Check if your builds are merged with already queued builds, identical parameters could cause this.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/38004bc1-54d3-41f4-96bb-49e8386b88b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

alexmkv

unread,
May 6, 2016, 12:51:26 AM5/6/16
to Jenkins Users
Check if your builds are merged with already queued builds
Can you explain, how this can be checked?

identical parameters could cause this.
All jobs for now must have different params set. There are three parameters, but their combination is unique in parent job. Parent jobs executed sequentially.
Reply all
Reply to author
Forward
0 new messages