Seems we solved the problem launching the Jenkins Slave within a batch command (so not anymore as a Windows Service).
I'm posting the batch file if anybody need it: it creates a new numbered log file each time it restart the Slave.

@echo OFF

setlocal enableextensions enabledelayedexpansion

set /a "x = 1"
:while1

call "C:\Java\jre6\bin\java.exe" -Xrs -mx512m -jar %SLAVE_HOME%\slave.jar -jnlpUrl http://HudsonServer.domain.local:8080/computer/SLAVE_1.domain.local/slave-agent.jnlp -secret 51487626528q528582529522572rgfegcb733202d7b > %SLAVE_HOME%\jenkins-slave.%x%.log 2>&1
set /a "x = x + 1"

goto :while1

endlocal

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to