Hi,
My current Jenkins instance stores some test environment settings in groovy files that reside in the credentials store.
One of the steps runs some jobs in parallel and each of the nodes should load a different groovy file. Unfortunately the result is not as expected, the load is global and overwrites whatever variables were set on a different node.
Is there some way to load a groovy file only in the current node?
My groovy files are very simple: they just have commands that set environment variables (around 10), so if there’s some other way I could achieve the same result that would be great. I don’t want to put each variable in its own credentials, because it will
get very hard to manage.
Thank you,
Claudiu Guiman