Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.