How to start stop and restart Jenkins on Linux

In this article, we will see how to start stop and restart Jenkins on Linux step by step. The process is same for all Linux distributions like Ubuntu, RHEL, CentOS, Kali Linux, Debian, Fedora,…

Check the status of Jenkins on Linux

1. Check the status of Jenkins status using the below command.

sudo systemctl status jenkins

How to start stop and restart Jenkins on Linux

2. Check the status of Jenkins status using the below command.

sudo service jenkins status

3. We can also check by checking running processes on Linux.

ps -ef | grep jenkins

4. Start the jenkins on Linux using the below command.

sudo systemctl start jenkins

5. Stop the Jenkins service on Linux.

sudo systemctl stop jenkins

6. Restart the jenkins service on Linux.

sudo systemctl restart jenkins

So in this article, we have seen how to check the status of jenkins on Linux then How to start stop and restart Jenkins on Linux.

Same steps explained in the following video:

Leave a Reply

Your email address will not be published. Required fields are marked *