Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21061

JENKINS_HOME ignored in JENKINS 1.544

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • Windows XP

      JENKINS 1.544 ignores env var JENKINS_HOME for the WAR extraction.

      D:\temp>set JENKINS_HOME=D:\temp\jserver

      D:\temp>java -jar jenkins-1.531.war
      Running from: D:\temp\jenkins-1.531.war
      webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
      18.12.2013 10:13:21 winstone.Logger logInternal
      INFO: Beginning extraction from war file

      => extracts to D:\temp\jserver\war

      D:\temp>set JENKINS_HOME=D:\temp\jserver

      D:\temp>java -jar jenkins-1.544.war
      Running from: D:\temp\jenkins-1.544.war
      webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
      18.12.2013 10:15:15 org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: jetty-8.y.z-SNAPSHOT
      18.12.2013 10:15:17 org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Extract jar:file:/D:/temp/jenkins-1.544.war!/ to C:\Documents and Settings\...\Local Settings\Temp\jetty-0.0.0.0-8080-jenkins-1.544.war-any\webapp

      => extracts to C:\Documents and Settings\...\Local Settings\Temp\jetty-0.0.0.0-8080-jenkins-1.544.war-any\webapp, why?

            Unassigned Unassigned
            saschavet Sascha Vet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: