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
• 380 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
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,330 points
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
+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
• 940 points

edited May 28 by Sirajul 34 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.