Skip to main content

Installing Jenkins

Go to Jenkins official website and download Jenkins for Ubuntu/debian. https://www.jenkins.io/download/

image.png

Then run the commands that is shown in the page. It should look something like below:

image.png

NOTE: Don't need to run the following command since java is already installed previously.

$ sudo apt-get install fontconfig openjdk-17-jre

After successfully installing Jenkins, run the following command to start Jenkins.

$ sudo systemctl start jenkins

To see if Jenkins is running, run the following command.

$ sudo systemctl status jenkins

Then you will get something like this:

image.png


IMPORTANT: Copy the password from above, you will need it when setting up Jenkins.