Created
September 25, 2011 10:22
-
-
Save fordnox/1240454 to your computer and use it in GitHub Desktop.
Install Jenkins server on Ubuntu
This file contains 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
#!/bin/sh | |
sudo apt-get update | |
sudo apt-get install openjdk-6-jre | |
sudo apt-get install openjdk-6-jdk | |
sudo wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo apt-get update | |
sudo apt-get install jenkins | |
sudo apt-get install ant | |
#Install PHP related dependencies | |
sudo apt-get install phpunit | |
sudo apt-get install php5-xdebug | |
sudo apt-get install php-pear | |
sudo pear config-set auto_discover 1 | |
sudo pear install pear.phpunit.de/PHP_CodeCoverage | |
sudo pear install phpunit/PHP_Timer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you know where the jenkins upstart job is located? It's certainly not
/etc/init/jenkins.conf
.