https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service
SC 直接创建windows service
sc.exe create "JenkinsSlave" start= auto binPath= "C:\Program Files (x86)\Jenkins\jenkins-slave.exe" DisplayName= "JenkinsSlave"
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+as+a+Windows+service
SC 直接创建windows service
sc.exe create "JenkinsSlave" start= auto binPath= "C:\Program Files (x86)\Jenkins\jenkins-slave.exe" DisplayName= "JenkinsSlave"