Quantcast
Viewing all articles
Browse latest Browse all 9

How to Install Jenkins on Ubuntu

In this tutorial we will learn how to install Jenkins server on Linux, Jenkins is the leading open-source continuous integration server. Jenkins built with java and running in Apache Tomcat. Jenkins has 1000+ plugins for support building and testing virtually any project. It supports SCM tools including CVS, Subversion, Git, Mercurial and RTC.You can execute Apache Ant and Apache Maven based projects as well as arbitrary shell scripts and Windows batch commands.

The simple steps to install Jenkins on Ubuntu:

wget -q -O - https://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

If already has, you can update with below steps:

sudo apt-get update
sudo apt-get install jenkins

You can access http://localhost:8080

You can also use .war file of Jenkins with tomcat, there are following steps need to use jenkins as a .war file

1 – Install tomcat7 (sudo apt-get install tomcat7)
2 – Copy jenkins.war file into webapps directory.
3 – You can access jenkins using this (http://localhost:8080/jenkins) url.


Viewing all articles
Browse latest Browse all 9

Trending Articles