1

I have set up Jenkins version (ver. 2.155).

post adding plugin, i need to restart Jenkins but "Restart Jenkins" tab or link not working. I don't find my [] checkbox to check/tic click on arrow is not working (Refer image). Any help will be appreciated

enter image description here

1
  • GETTING MESSAGE AFTER TRYING TO RESTART "Jenkins cannot restart itself as currently configured." wHAT SHOULD I DO NOW?
    – user14631
    Apr 24, 2019 at 20:51

2 Answers 2

3

To restart Jenkins manually, you can use either of the following commands (by entering their URL in a browser):

(jenkins_url)/safeRestart - Allows all running jobs to complete. New jobs will remain in the queue to run after the restart is complete.

(jenkins_url)/restart - Forces a restart without waiting for builds to complete.

1
  • 1
    I've always thought they should have named 'safeRestart' to 'restart' and the 'restart' command to 'forceRestart'. It seems dangerous to have restart be the less safe option, but thats just me :)
    – Preston Martin
    Apr 25, 2019 at 16:47
0

You can restart jenkins by visiting /restart. So if your url is https://my-jenkins.local you would visit https://my-jenkins.local/restart.

It's been answered many times before, so maybe search around next time ;). Hope that helps ya.

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.