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

JENKINS_HOME variable ignored in tomcat context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None
    • 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.

            Unassigned Unassigned
            mpartridge Matt Partridge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: