Parameter for 'Project to build' in Jenkins 'Trigger/call builds on other projects' job section? -


a jenkins job calling job before calling using trigger/call builds on other projects section. however, option project build of section hard-coded. know how make parameterized or whether possible? not find solution same. i've tried build parameters , parameterized trigger plugins still not find how solve issue.

any appreciated.

you can use of main build parameters in project build section.

if have parameter called my-downstream-job, use ${my-downstream-job} under project build section (yes, under windows, need use linux variable names here, plugins work through java variables)

above, thinking copy artifacts plugin. right, doesn't work parameterized trigger plugin.

if don't have many choices, can construct logic conditional build step plugin. use "strings match" or "regular expression match" test value of parameter, , trigger relevant builds based on that. not pretty, work.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -