On 20/08/2022 20:05, Martin Gainty wrote:
Apparently you can but only as a jenkinsWindowService.exe
How to install Windows agents as a service? 
(cloudbees.com)<https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/client-and-managed-masters/how-to-install-windows-agents-as-a-service>
How to install Windows agents as a service? - 
CloudBees<https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/client-and-managed-masters/how-to-install-windows-agents-as-a-service>
You can use ssh to connect the agent by following Configuring Windows agents 
Note: This solution does not actually use a Windows service, as the agent 
launch is handeled by your controller automatically.
docs.cloudbees.com
Follow these instructions faithfully to get Windows Service WinSW-64x.exe (now 
renamed as jenkinsWindowService.exe) as a service to run your agents main jar 
working for you


You can also use
https://github.com/mturk/svcbatch

since procrun is old and dead technology
and have no intention to maintain that further

Regards
--
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to