How to Install Jenkins in Ubuntu Linux 18.04 & 19.04
Jenkins is one of the famous and most used CI/CD Tool in the IT Market today. It can be Integrated with many other tools like git hub , git lab , bit bucket and many more.. It can also be used for testing and as well as for performing automation.
Now lets Install Jenkins in Ubuntu Linux
First of all Install Java. As Jenkins is written in Java.
sudo apt install openjdk-8-jdk -y
After Installing Java you need to add a repository and gpg key to install Jenkins . run the following commands to setup repo and Install Jenkins Package.
echo “deb https://pkg.jenkins.io/debian binary/” >> /etc/apt/sources.list | sudo bash
Now Lets Install Jenkins
sudo apt install jenkins -y
Start and Enable the Service of Jenkins.
sudo systemctl enable jenkins
Now Jenkins is up. Now just open browser and by typing your ip address or localhost with 8080 port ( eg. http://127.0.0.1:8080 )

To get the default Password of Jenkins. cat the “/var/lib/jenkins/secrets/initialAdminPassword” file and copy the password and paste it on the jenkins dashboard.

Now, either you can go with “Install suggested plugins” or “Select plugins to Install” In Select plugins to install you will get a list of plugins to Install . I am installing suggested plugins.

Create a User or you can skip this.




Follow our Youtube Guide.
Recent Comments