Hi Joris, you can take a look at the slave-setup-plugin. I use a list of setup config items that can be added to the global config. See https://github.com/jenkinsci/slave-setup-plugin. I hope this helps.
Frederik 2012/7/26 Joris <[email protected]> > Dear list, > > How should I add some configuration options (some dynamically populated > pulldowns) to the global configuration screen of Jenkins as a plugin? I > know how to do this as a Builder Task plugin, but the sole purpose of this > plugin would be to have options on the global configuration screen (to > enable addition and removal of identities from an OS X Keychain). > > I have found the jenkins.model.GlobalQuietPeriodConfiguration, but that > seems to be integrated into Jenkins.java as well, so that got me slightly > confused, since that supposedly will not work for a plugin. > > I also found the jenkins.plugins.ui_samples on the javadoc, but I cannot > figure out how I should work with them (like do I do something like mvn > -cpu hpi:create but different? or what exactly do I do) > > Any pointers would be greatly appreciated! > > Joris >
