What is the command to restart jenkins through command line in linux?

0 votes
I am working on jenkins and i have changed the port number to 8085 to access jenkins. when i type the url of jenkins such as localhost:8085 it displays the message unable to connect. So i was thinking to restart jenkins and then try to access this url.
May 28 in Jenkins by Neel
• 1,350 points
35 views

1 answer to this question.

0 votes
If you are using Centos 7 i think sudo service jenkins restart should work.
answered May 29 by arvind.phulare1911
• 180 points

Related Questions In Jenkins

+2 votes
5 answers
0 votes
1 answer
+1 vote
3 answers
+1 vote
4 answers
0 votes
5 answers

What is the default Jenkins password?

Change the shell to /bin/bash instead of bin/false ...READ MORE

answered Apr 22 in Jenkins by Vinod
4,507 views
0 votes
1 answer

How to get the Maven Version of a project in Jenkins?

Follow the below steps: 1.      Install the Groovy ...READ MORE

answered Aug 9, 2018 in Jenkins by Sophie may
• 9,370 points
339 views
0 votes
1 answer

What are parameterized jobs in jenkins and how to configure it?

Hey @Hannah, Parameterized jobs/builds are the ones ...READ MORE

answered Dec 16, 2018 in Jenkins by Kiyara
470 views
+1 vote
1 answer

Is there a way to restrict permissions to a user per individual job in jenkins?

Yes, you can configure user permissions per ...READ MORE

answered May 28 in Jenkins by Sirajul
• 4,360 points

edited May 28 by Sirajul 52 views