-
Bug
-
Resolution: Incomplete
-
Blocker
-
None
-
Platform: All, OS: Windows XP
The page:
http://hudson.gotdns.com/wiki/display/JENKINS/Installing+Hudson+as+a+Windows+service
refers to the files hudson.xml and hudson-slave.xml
My master does not have any hudson.xml - so this must be plain wrong (I've
installed the latest version).
Also, on the slave, I edited hudson-slave.xml to
<!--
Windows service definition for Hudson slave
To uninstall, run "hudson-slave.exe stop" to stop the service, then
"hudson-slave.exe uninstall" to uninstall the service.
Both commands don't produce any output if the execution is successful.
-->
<service>
<id>hudsonslave</id>
<name>Hudson Slave</name>
<description>This service runs a slave for Hudson continous integration
system.</description>
<!--
if you'd like to run Hudson with a specific version of Java, specify a full
path to java.exe.
The following value assumes that you have java in your PATH.
-->
<executable>c:\javatools\JDKs\jdk1.5.0_02\bin\java.exe</executable>
<arguments>-Xrs -jar "%BASE%\slave.jar" -jnlpUrl
http://paysvn.tietoenator.com:8080/hudson/computer/buildserver/slave-agent.jnlp</arguments>
<!--
interactive flag causes the empty black Java window to be displayed.
I'm still debugging this.
<interactive />
-->
</service>
but still it only runs "java" when executing jobs:
[Pwh] $ java -cp
C:\hudson\maven-agent.jar;C:\opt\apache-maven\boot\classworlds-1.1.jar
hudson.maven.agent.Main /opt/apache-maven C:\hudson\slave.jar
C:\hudson\maven-interceptor.jar 3008
channel started
Executing Maven: -B -B -f C:\hudson\workspace\Pwh\pom.xml clean install
-Dmaven.test.failure.ignore=true -Psnapshots