Start/Stop and Restart Jenkins service on Windows

前端 未结 8 1557
渐次进展
渐次进展 2020-12-02 05:19

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

相关标签:
8条回答
  • 2020-12-02 06:13

    To start Jenkins from command line

    1. Open command prompt
    2. Go to the directory where your war file is placed and run the following command:

      java -jar jenkins.war

    To stop

    Ctrl + C

    0 讨论(0)
  • 2020-12-02 06:16

    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
    
    0 讨论(0)
提交回复
热议问题