-
-
Save rnkhouse/bb6078c468c9b498799bbf632756b5e5 to your computer and use it in GitHub Desktop.
Install plugins to Jenkins via script console
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
for (plugin in ["ant", | |
"artifactdeployer", | |
"build-failure-analyzer", | |
"build-name-setter", | |
"build-pipeline-plugin", | |
"build-timeout", | |
"claim", | |
"clone-workspace-scm", | |
"cobertura", | |
"collapsing-console-sections", | |
"conditional-buildstep", | |
"configurationslicing", | |
"copy-to-slave", | |
"credentials", | |
"cvs", | |
"disk-usage", | |
"ec2", | |
"email-ext", | |
"external-monitor-job", | |
"git", | |
"git-client", | |
"global-build-stats", | |
"gravatar", | |
"groovy-postbuild", | |
"javadoc", | |
"jobConfigHistory", | |
"ldap", | |
"mailer", | |
"mask-passwords", | |
"maven-plugin", | |
"openid", | |
"pam-auth", | |
"parameterized-trigger", | |
"run-condition", | |
"shelve-project-plugin", | |
"ssh-credentials", | |
"ssh-slaves", | |
"subversion", | |
"svn-release-mgr", | |
"token-macro", | |
"translation", | |
"view-job-filters", | |
"ws-cleanup"]) { | |
e = Hudson.instance.updateCenter.getPlugin(plugin).deploy().get().getError() | |
if (e != null) | |
println e.message | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment