0% found this document useful (0 votes)
28 views5 pages

6604 Jenkins

The document provides steps to install Jenkins on Ubuntu. It outlines downloading required packages like Maven and Git, adding the Jenkins repository, installing Jenkins, starting the service, and obtaining the initial admin password to access the web interface. The final steps demonstrate creating a new project.

Uploaded by

gandem gowhith
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views5 pages

6604 Jenkins

The document provides steps to install Jenkins on Ubuntu. It outlines downloading required packages like Maven and Git, adding the Jenkins repository, installing Jenkins, starting the service, and obtaining the initial admin password to access the web interface. The final steps demonstrate creating a new project.

Uploaded by

gandem gowhith
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

JENKINS INSTALLATION

Step 1 : Use the command sudo su to swtich to the root user

Step 2 : Update ubuntu by using sudo apt-get update

Step 3 : Install Maven using sudo apt install maven and check its version

Step 4 : Install git using sudo apt install git

Step 5 : JENKINS INSTALLATION


i) add the repository key to the system:
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -

ii) append the Debian package repository address to the server’s sources.list
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'

iii)sudo apt update

iv) sudo apt install Jenkins

Step 6 : Starting Jenkins


i) start Jenkins by using systemctl
sudo systemctl start jenkins
ii) check jenkins status using the command sudo systemctl status jenkins
Step 7 :
i) In the web browser go to localhost:8080. Copy the password displayed on the website

ii) In the terminal window, use the cat command to display the password:
sudo cat /var/lib/jenkins/secrets/initialAdminPassword

iii) Copy the displayed password and paste in the browser window
iv) Click on Continue
v) Select Install suggested plugins

vi) Give login details and Click on save and continue


Step 8 : Create a new project by clicking on the NEW ITEM OPTION
Enter name of the project and select the type of the project
Click on save

You might also like