How to change the PATH env?

13 views
Skip to first unread message

stevel...@gmail.com

unread,
Nov 18, 2015, 5:42:46 PM11/18/15
to Jenkins Users
Hi,

I am running jenkins-1.619-1.1.noarch.rpm on a Red Hat server.  I used "sudo service jenkins start" to run the jenkins server.  From the System Info page, the PATH is set to /sbin:/usr/sbin:/bin:/usr/bin
How can I append other location to this PATH env variable?  I don't want to modify /etc/rc.d/init.d/jenkins file.

many thanks

Steve

Indra Gunawan (ingunawa)

unread,
Nov 19, 2015, 2:07:22 PM11/19/15
to jenkins...@googlegroups.com
Add your “export PATH” in /etc/sysconfig/jenkins


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c2e8a015-36e7-4424-a11c-91cb697178bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages