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

Strange environment JENKINS_WEBROOT for default CentOS installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Trivial Trivial
    • core
    • None
    • jenkins-2.343-1.1.noarch
      CentOS Linux release 7.9.2009 (Core)

      I have default installation of Jenkins for RedHat related OS.

      Excerpt from the /etc/systemd/system/jenkins.service file:

      Environment="JENKINS_WEBROOT=%C/jenkins/war

      After systemctl start jenkins ps command shows me:

      jenkins   7128  0.2  9.7 16923192 3180692 ?    Ssl  Apr19   2:53 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=%C/jenkins/war --httpPort=8080 

      And the content ~jenkins directory:

      # ls -l ~jenkins
      total 32
      drwxr-xr-x.  3 jenkins jenkins   21 Apr 19 13:12 %C 
      ...

      Is this a typo or should %C be converted to something?

       

      Of course, I will change it, because I have to adjust my Jenkins installation.

       

      OS: CentOS Linux release 7.9.2009 (Core)

      systemd: 219-78.el7_9.5

            Unassigned Unassigned
            dracorp dracorp
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: