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

JENKINS_HOME variable ignored in tomcat context

    • 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.

          [JENKINS-68120] JENKINS_HOME variable ignored in tomcat context

          Matt Partridge created issue -
          Basil Crow made changes -
          Link New: This issue duplicates JENKINS-68081 [ JENKINS-68081 ]
          Basil Crow made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: