How can I pass parameters to the Jenkins build flow? -


how can pass parameters jenkins build flow?

i have build flow runs 4 jobs in sequence . lets take example :

build("job1", param1:value1, param2:value2) build("job2", param1:value1, param2:value2) build("job3", param1:value1, param2:value2) build("job4", param1:value1, param2:value2) 

i passing 2 parameters each job. parameters same. want pass "param1","param2" build flow. how can ?

try this

pass parameters double quotes

build("job1", param1:"value1", param2:"value2") 

Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -