Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any way to automate the install of modules within Jenkins? I'm trying to script/automate the install of my CI box as much as possible. I have just about everything working but at the moment it requires someone go into Jenkins and install the modules via the web interface.

share|improve this question
add comment

2 Answers

You can download the plugins from http://mirrors.jenkins-ci.org/plugins/PLUGIN_NAME/latest/PLUGIN_NAME.hpi . Dropping them into jenkins/plugins/ will do the trick.

Don't forget to restart Jenkins.

Also, if you're using Chef instead of Puppet, the Jenkins cookbook will take care of installing plugins as well.

share|improve this answer
add comment

The puppet-jenkins module automates the entire process of the Jenkins installation through Puppet. It also has manifests for installing plugins, either by specifying a version you want or by installing the latest version.

If you do not already use Puppet and do not want to implement this module in your system, you can take a look at the plugin manifest and see how the process of plugins was automated.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.