Add To Path in Jenkins 2.7.2

29 views
Skip to first unread message

Eric Fetzer

unread,
Sep 27, 2016, 12:53:22 PM9/27/16
to Jenkins Users
Running Jenkins 2.7.2 on RHEL 6.8.  In older versions of Jenkins, I just had to add a line to the bottom of /etc/profile and it showed up in Jenkins' path.  In 2.7.2, I've added the line, verified the addition shows up in other users paths when they logon, restarted the Jenkins service, then checked /Manage Jenkins/System Information, and the path is not altered.  Anyone know how I can affect the PATH in the new Jenkins?

Note that I also tried Manage Jenkins/Configure System/ and adding a Global Property:Environment Variable:

Name:  PATH
Value:  $PATH:/my/added/path:.

That didn't work either.

Thanks,
Eric

Eric Fetzer

unread,
Sep 27, 2016, 3:04:37 PM9/27/16
to Jenkins Users
OK, figured it out.  I had to add the export statement to /etc/sysconfig/jenkins
Reply all
Reply to author
Forward
0 new messages