Start/Stop and Restart Jenkins service on Windows
Solution 1:
Open Console/Command line --> Go to your Jenkins installation directory. Execute the following commands respectively:
to stop:jenkins.exe stop
to start:jenkins.exe start
to restart:jenkins.exe restart
Solution 2:
To stop Jenkins Please avoid shutting down the Java process or the Windows service. These are not usual commands. Use those only if your Jenkins is causing problems.
Use Jenkins' way to stop that protects from data loss.
http://[jenkins-server]/[command]
where [command] can be any one of the following
- exit
- restart
- reload
Example: if my local PC is running Jenkins at port 8080, it will be
http://localhost:8080/exit