jenkins - calculate remote fs root from master hostname -
i have 2 jenkins masters - call them "master1" , "master2" - , remote node, call "node1". want keep node configuration "node1" same in master1 , master2. - dynamically calculate remote fs root property of node1 different depending on whether jenkins slave process started master1 or master2. so, in node configuration, here:
remote fs root = /home/jenkins/<????>
is there can enter ???? result in different absolute workspace path slaves started on master1 vs master2? (note: key want ???? same on masters; want avoid hard-coding in unique values "master1" or "master2".)
Comments
Post a Comment