How to Install Jenkins - Tecnew

Home Ads

How to Install Jenkins

How to Install Jenkins

Share This

 

Jenkins Installation Req:

1.     Java, JRE, JDK

2.     Ubuntu

Installation:

Link adder Debian Jenkins Packages

1.      sudo apt update

2.      sudo apt install openjdk-8-jdk  -y

3.      wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add –

then add the below content to sources list

4.      echo ‘deb https://pkg.jenkins.io/debian-stable binary/’ >> /etc/apt/sources.list

       or

       sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stablebinary/ > /etc/apt/sources.list.d/jenkins.list'

5.      apt update

       sudo apt install ca-certificates

6.      sudo apt install Jenkins -y

       sudo apt install start jenkins

       sudo apt enable jenkins

      systemctl status jenkins

      open the browser http://your-ip or domain:8080

       


       sudo cat /var/lib/jenkins/secrets/initialAdminPassword
       
       






Un installing Jenkins Server

sudo systemctl stop jenkins
sudo apt-get remove --purge jenkins
sudo apt-get  remove jenkins
sudo apt-get remove --auto-remove jenkins






No comments:

Post a Comment