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
Un saludo ________________________________ From: Fernando O. <fot...@gmail.com> Sent: Friday, August 19, 2022 8:46 AM To: Commons Users List <user@commons.apache.org> Subject: [daemon] Procrun and -javaagent Hi all, Disclaimer: I'm pretty new to windows, I worked most of my life on linux I'm trying to add a java agent to a windows service, that was installed with procrun. In the doc it seems like there's no option for adding an agent. I tried adding it to options (the doc says that accepts -D and -X) but just in case I tried with -javaagent as in command line but it's failing. I can't find a way to get proper logs on what's going on either. Does anyone know if this is doable? Or how to get trace/debug lvl logs from the jvm? I'ḿ running it in jvm mode. [image.png]