Jenkins agent keeps disconnecting on windows slave

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Jenkins agent keeps disconnecting on windows slave

Shubham Bansal
I have a Jenkins master on Azure linux machine and have an Azure Windows VM as a slave. The slave connects using the option ""Launch agent by connecting it to the master". 
When the launch command is run on the Windows machine, the agent does connect but it disconnects after some time (around 20-30 minutes).  I tried running the agent as a windows service but the service keeps restarting very frequently and if the master makes any request to this slave during this restart time, the build fails. 

Can someone here give me a more robust solution to this issue?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b1cbe7c0-c88e-42d5-95a4-da7a53761e03%40googlegroups.com.