I have a freestyle Jenkins job that has a parameter called branch
, which is taken from a file.
Currently, in the file, it’s defined to be equal to master
:
branch=master
Then, as part of the build, it calls another Jenkins job with the branch variable.
Now, QA wants to have the branch
variable have multiple values (for example branch=master,branch1
).
Thing is, now I would have to call the other Jenkins job multiple times.
In Jenkins (preferably freestyle), is it possible to call another job multiple times in a loop with different values every time?
Thanks ahead!