With the limited details you provide all I can advice is: try not to close the slave agent or kill its network connection.
If you want better advice, you need to provide more details. In general, the slave agent does not lose connection in the middle of builds. -- Sami Manoj Attal <manojat...@gmail.com> kirjoitti 13.8.2012 kello 12.43: > I have set up Jenkins slave and masters on windows machines. I have set up > Jenkins slave using JNLP(Java web smart) mode. On jenkins slave I am > performing set up of application and then it perform some UI tests. The issue > is that Jenkins slave automatically gets disconnected after few minutes. So > tests that we are running get failed. Even execution of set up haults where > it was while session was disconnected. How can I make sure that slave works > correctly without interruption in session?