Hi All,

I am newbie here,  i want to create a "*Build Flow*" job with some parallel
sub jobs.
The sub jobs need a file parameter,  i want to trans a file from the main
job to the sub jobs, do you know how to do that. very appreciate.

eg:  in the main job i have upload a file using "File Parameter"
     [image: Inline image 1]
I want trans this file to sub jobs like:
 bulid("mySubJobName",* param1 :  params["ServiceConfig"]*

I found it only transfer a String to the sub job.

def ext = extension.'build-flow-concurrent-extensions'
def myparams = new HashMap(params) // define some parameters
myparams.put("ServerNode", "SLAVE")
myparams.put("RunType", "Suite")
myparams.put("Moduld", "Smoking-Test.xml")
build(myparams, "mySubJobName")

Thanks,
Panos

-- 
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/CACuxvdxrnF0Xr0%3D_ZKQ07zgq1y0s96zSdeYo1nEjjnsgvOKmPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to