Start/Stop and Restart Jenkins service on Windows

user2027659 picture user2027659 · Feb 14, 2013 · Viewed 327.3k times · Source

I have downloaded "jenkins-1.501.zip" from http://jenkins-ci.org/content/thank-you-downloading-windows-installer .

I have extracted zip file and installed Jenkins on Windows 7 successfully. Jenkins runs at http://localhost:8080/ well. I want to stop Jenkins service from console. How can I do that? What's the way to start and restart through console/command line?

Answer

Ripon Al Wasim picture Ripon Al Wasim · Feb 14, 2013

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