Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pluginShortName = "jabber"
- Jenkins.instance.updateCenter.getPlugin(pluginShortName).getNeededDependencies().each {
- it.deploy()
- }
- updateCenterJob = Jenkins.instance.updateCenter.getPlugin(pluginShortName).deploy()
- if (Jenkins.instance.updateCenter.isRestartRequiredForCompletion()) {
- hudson.model.Hudson.instance.doSafeRestart(null)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement