Commits

Hidetoshi Kanuka committed cdd50d4

fix jenkins.xml. (sf.jp #28348)

Comments (0)

Files changed (1)

install/replace/jenkins.xml.in

   <id>TracLightning(Jenkins)</id>
   <name>TracLightning(Jenkins)</name>
   <description>This service runs Jenkins continuous integration system.</description>
-  <env name="JENKINS_HOME" value="%%APPDIR%%\projects\hudson\.hudson"/>
+  <env name="TRAC_LIGHT_HOME" value="%%APPDIR%%"/>
+  <env name="JENKINS_HOME" value="%TRAC_LIGHT_HOME%\projects\hudson\.hudson"/>
   <!--
     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>"%%APPDIR%%\jenkins\jre\bin\java"</executable>
-  <arguments>-Xrs -Xmx256m -Duser.home="%%APPDIR%%\projects\hudson" -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%%APPDIR%%\jenkins\jenkins.war" --prefix=/jenkins --ajp13Port=8009 --ajp13ListenAddress=127.0.0.1 --httpListenAddress=127.0.0.1 --httpPort=8010</arguments>
+  <executable>"%TRAC_LIGHT_HOME%\jenkins\jre\bin\java"</executable>
+  <arguments>-Xrs -Xmx256m -Duser.home="%TRAC_LIGHT_HOME%\projects\hudson" -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%TRAC_LIGHT_HOME%\jenkins\jenkins.war" --prefix=/jenkins --ajp13Port=8009 --ajp13ListenAddress=127.0.0.1 --httpListenAddress=127.0.0.1 --httpPort=8010</arguments>
   <!--
     interactive flag causes the empty black Java window to be displayed.
     I'm still debugging this.