Thanks for the extra set of eyes and the tip (sorry my java skills are a 
bit rusty). The following works as a Build Flow, I tried as a Pipeline but 
didn't have any luck. As time frees up over the holidays I may revisit. 
 Thanks again.

def parm = build.buildVariableResolver.resolve("inputParameter").split(/[ 
,]+/)
def jobs = [:]

for (String deployment : parm) {
  def inputParameter = deployment
  
  jobs[inputParameter] = {
    build( 'aa', inputParameter: "${inputParameter}")
  }
}

parallel jobs




On Monday, December 12, 2016 at 10:06:10 AM UTC-6, Daniel Beck wrote:
>
>
> > On 12.12.2016, at 16:47, Bryce Pepper <b.a.p...@gmail.com <javascript:>> 
> wrote: 
> > 
> > "a b  c,d, e , f" parameters are passing now but I am not getting the 
> "parallel" execution desired. All of the spawned jobs have the same build 
> number and if I look at completed job it has the passed parameter "f". 
>
> I'm pretty sure you're not passing different parameters -- just print 
> `deployment` inside the actual block, not directly in the loop. 
>
> And if that's correct: Jenkins collapses identical queue items. Use 
> different parameters if you want different builds. 
>
>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/86505b11-8b64-4531-9a3a-eca5ac87c989%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to