How to share variables between Jenkins jobs -


we have few environments (dev1, dev2, tst1,...), , set of jobs each of environments (integration tests, build fe, build be, ...). need change branch, using on 1 environment.

it creates confusion, when changing branch in job, we're using, don't want manually change branch on jobs related given environment. set variable shared jobs in set, solution comes mind use system variables, , separate job set them, like:

dev1_branch = some_branch dev2_branch = some_other_branch tst1_branch = some_branch 

the jobs independent, using chain of jobs variable injection no good. if there possiblity run job, change configuration in persistent way of jobs in set, great.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -