Issue
When I try to go to $JENKINS_URL/restart to restart my instance, it just hangs when trying to come back up. So I have to manually restart the service
Resolution
-
Ensure that your Jenkins user has the permissions to restart the Windows Jenkins service
-
Go into your jenkins.xml inside of $JENKINS_HOME and look for the
<id>
and<name>
tags. Those should match the name of your Service running Jenkins. If they do not, adjust the jenkins.xml file and re-save it
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.