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
Post a Comment