Start/Stop and Restart Jenkins service on Windows

前端 未结 8 1623
渐次进展
渐次进展 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条回答
  •  旧时难觅i
    2020-12-02 06:12

    Small hints for routine work.

    Create a bat file, name it and use for exact run/stop/restart Jenkins service

    #!/bin/bash
    # go to Jenkins folder
    cd C:\Program Files (x86)\Jenkins
    
    #to stop:
    jenkins.exe stop
    
    #to start:
    #jenkins.exe start
    
    #to restart:
    #jenkins.exe restart
    

提交回复
热议问题