Created
June 20, 2018 10:54
-
-
Save willis7/cb2a15204ad75cdf5082fc5963f30c71 to your computer and use it in GitHub Desktop.
Groovy script to manipulate Jenkins config.xml and set the number of executors to 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jenkins.model.* | |
Jenkins.instance.setNumExecutors(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment