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

Configuring JENKINS_HOME in Tomcat context of the servlet

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Windows Server

      When attempting to upgrade from 2.319.3 to 2.332.1, the updated version of Jenkins is not using the JENKINS_HOME value set in conf/context.xml.  The instance is running as a Windows service using Apache Tomcat 9.

      <Context>
      <Environment name="JENKINS_HOME" value="C:\path_to_jenkins_home" type="java.lang.String"/>
      ...
      </Context>

      Instead, the default and initial value of JENKINS_HOME is being used (C:\users\someUser\.jenkins)

      There is a need to use a different setting in the servlet.

          [JENKINS-68081] Configuring JENKINS_HOME in Tomcat context of the servlet

          Doug created issue -
          Doug made changes -
          Description Original: When attempting to upgrade from 2.319.3 to 2.332.1, the updated version of Jenkins is not using the JENKINS_HOME value set in conf/context.xml.

          <Context>
           <Environment name="JENKINS_HOME" value="C:\path_to_jenkins_home" type="java.lang.String"/>
           ...
          </Context>

          Instead, the default and initial value of JENKINS_HOME is being used (C:\users\someUser\.jenkins)

          There is a need to use a different setting in the servlet.
          New: When attempting to upgrade from 2.319.3 to 2.332.1, the updated version of Jenkins is not using the JENKINS_HOME value set in conf/context.xml.  The instance is running as a Windows service using Apache Tomcat 9.

          <Context>
           <Environment name="JENKINS_HOME" value="C:\path_to_jenkins_home" type="java.lang.String"/>
           ...
           </Context>

          Instead, the default and initial value of JENKINS_HOME is being used (C:\users\someUser\.jenkins)

          There is a need to use a different setting in the servlet.
          Doug made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Basil Crow made changes -
          Link New: This issue is duplicated by JENKINS-68120 [ JENKINS-68120 ]

            Unassigned Unassigned
            diegoandroid Doug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: