Not able to restart Jenkins manually. Already tried all below ways:
http://localhost:8080/safeRestart
Error message: Jenkins cannot restart itself as currently configured.
Manage Jenkins → Restart Safely Plugin.
Error message: Jenkins cannot restart itself as currently configured.
Not able to find any Jenkins Service in services.msc
.
Navigate to jenkins-cli
directory in CMD mode
java -jar jenkins-cli.jar -s http://[jenkins-server]/ restart
See below screenshot for error message:
[jenkins_url]/safeRestart - This will restart Jenkins after the current builds have completed. [jenkins_url]/restart - This will force a restart.
Run the command java -jar jenkins. war . Browse to http://localhost:8080 and wait until the Unlock Jenkins page appears.
Use command line to stop and start
net stop jenkins
net start jenkins
Simply just do one thing.To restart Jenkins manually, you can use either of the following commands on Windows platform.
Then try restarting Jenkins.
It worked for me!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With