Re: [workflow] Generating parallel branches causes job to hang

2015-10-26 Thread Andres Rodriguez
Thanks for the feedback everyone, it was quite helpful. Regards, Andres On Thursday, October 15, 2015 at 2:00:22 PM UTC-4, Brian Ray wrote: > > See this earlier thread for the Iterator serialization issue: > > https://groups.google.com/d/msg/jenkinsci-users/LGRv7Jq60YI/ZN-68zuw2loJ > > On

Re: [workflow] Generating parallel branches causes job to hang

2015-10-15 Thread Brian Ray
See this earlier thread for the Iterator serialization issue: https://groups.google.com/d/msg/jenkinsci-users/LGRv7Jq60YI/ZN-68zuw2loJ On Wednesday, October 14, 2015 at 10:33:41 AM UTC-7, Michael Štědrý wrote: > > Hi Andres, > > I've got one more interesting thing for you. I managed to get your

Re: [workflow] Generating parallel branches causes job to hang

2015-10-14 Thread Michael Štědrý
Hi Andres, I've got one more interesting thing for you. I managed to get your sample working even though I had to remove the functions: def testList = "test1 test2".split() def branches = [:] for (int i = 0; i < testList.length; i++) { def testName = testList[i]; branches[testName] = {

Re: [workflow] Generating parallel branches causes job to hang

2015-10-14 Thread Michael Štědrý
Hi Andres, I found myself needing the same functionality, that is to run a few parallel branches that initiate work elsewhere and wait for notification. After all the branches finish I would continue the workflow. It fails with the same error for me and the build could not be aborted, except

[workflow] Generating parallel branches causes job to hang

2015-09-27 Thread Andres Rodriguez
Hi Everyone, First of all, I want to say that I'm really enjoying the workflow plugin. Thanks for all the effort in bringing this feature to production. Specially loading the DSL file from a git repository allows us to auto-test our changes to a job through the same mechanism that we test