Reputation: 309
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:
Upvotes: 12
Views: 29596
Reputation: 161
1) Click "Start" button 2) Find and right-click Command Prompt. Then choose Run as administrator. 3) Execute the command "net stop jenkins" and "net start jenkins"
This will definitely works.
Upvotes: 2
Reputation: 161
On windows, goto Run-> type "cmd" and navigate to your jenkins installation path. Then perform the following list of commands:
jenkins.exe stop
jenkins.exe start
jenkins.exe restart
Note:if you get an error then run the command as administrator..
Hope this will be helpful..
Upvotes: 0
Reputation: 857
Use command line to stop and start
net stop jenkins
net start jenkins
Upvotes: 14
Reputation: 131
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!
Upvotes: 4