JENKINS_HOME variable ignored in tomcat context

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical
    • Component/s: core
    • Environment:
      Jenkins 2.332.1, Tomcat 9, RHEL 7

      Attempting to replace jenkins.war to upgrade from 2.319.3 to 2.332.1

      A context file specifies Jenkins home.
      <Context docBase="jenkins">
      <Environment name="JENKINS_HOME" value="/opt/jenkins_home/" type="java.lang.String"/>
      </Context>

      Ā 

      instead of the recently updated Jenkins using the specified JENKINS_HOME it's using the tomcat user's home/.jenkinsĀ 

      Ā 

      Reverting to the previous version resolves the issue.

            Assignee:
            Unassigned
            Reporter:
            Matt Partridge
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: