Skip to content

Instantly share code, notes, and snippets.

@whittlec
Last active March 12, 2024 11:07
  • Star 4 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save whittlec/6112643 to your computer and use it in GitHub Desktop.
Install plugins to Jenkins via script console
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