Jenkins-As Window Agent
The easiest way to set up Jenkins node (slave) as a service is to use https://nssm.cc/
- Unzip the nssm into
C:\
drive - Run command ->
C:\nssm-2.24\win54>nssm install "JenkinsAgent"
- In the pop-up, you can give a path to
startagent.bat
available in Jenkins
You can also configure user you want to use for running jenkins jobs.