Re: How to set "Environment variables" in "Global properties" of global Jenkins configuration programmatically?

2017-11-10 Thread Josh Branham
Solved the problem, just add an envVars.clear() to the else statement On Thursday, November 9, 2017 at 3:58:36 PM UTC-5, Josh Branham wrote: > > Any idea how to make this delete all existing key pairs to ensure only the > ones defined in this script are the ones in Jenkins? > &g

Re: How to set "Environment variables" in "Global properties" of global Jenkins configuration programmatically?

2017-11-09 Thread Josh Branham
Any idea how to make this delete all existing key pairs to ensure only the ones defined in this script are the ones in Jenkins? On Wednesday, February 25, 2015 at 4:53:27 PM UTC-5, Victor Volle wrote: > > Final solution: > > instance = Jenkins.getInstance() > globalNodeProperties =