Start/Stop and Restart Jenkins service on Windows ?

Start/Stop and Restart Jenkins service on Windows ?

Asked on October 24, 2018 in Windows.
Add Comment


  • 6 Answer(s)

    Go to the Console/Command line and Then go to Jenkins installation directory, Execute the following commands.

    to stop:

    jenkins.exe stop
    

    to start:

    jenkins.exe start
    

    to restart:

    jenkins.exe restart
    

     

    Answered on October 24, 2018.
    Add Comment

    To Begin Jenkins from the command line.

    Go to command prompt
    By using  directory,  it becomes  the war file is placed and execute  the following command:

    java -jar jenkins.war
    

    To stop

    Ctrl + C
    
    Answered on October 24, 2018.
    Add Comment

    To stop Jenkins Please avoid shutting down java process or shutting down windows service. These are not usual commands. Use those only if your Jenkins is causing problem.

    Use jenkin’s way to stop that allows protection data loss.

    http://[jenkins-server]/[command]
    

    where [command] can be any one of the following

    exit
    restart
    reload  
    

    Example : if my local pc running jenkins at 8080 port, it will be

    Answered on January 19, 2019.
    Add Comment

    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

    
        
    Answered on January 19, 2019.
    Add Comment
    1. to stopjenkins.exe stop.
    2. to startjenkins.exe start.
    3. to restartjenkins.exe restart.
    Answered on February 17, 2019.
    Add Comment

    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

    Answered on February 21, 2019.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.