Monday, June 29, 2015

Install Jenkins in ububtu : Quick HowTo

Jenkins.. a very trendy continuous intergation tool. Everybody should give it a try. Specially if you have an ubuntu distribution, it's just the perfect match. All you need to do is to run those command lines step by step :

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
export JENKINS_HOME=/opt/jenkins
That's it !! and you will have jenkis already running and available on your localhost (http://localhost:8080/).
You can start and stop Jenkins using these command lines :
sudo /etc/init.d/jenkins start
sudo /etc/init.d/jenkins stop

No comments: