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
| // add-jenkins-param.groovy | |
| // Adds a parameter to all jobs on a Jenkins instance. | |
| // The parameter is then exposed to the job's environment as `$PARAM_KEY`. | |
| import hudson.model.* | |
| key = 'GEM_SOURCE' | |
| value = 'http://rubygems.delivery.puppetlabs.net:5000' | |
| desc = 'The rubygems URL' | |