Jenkins and Os Path

12 views
Skip to first unread message

inforedaster .

unread,
Jul 4, 2016, 10:55:48 AM7/4/16
to jenkins...@googlegroups.com
Hi,

i have a problem with my jenkins  1.642.2 in Red hat when i execute :

[root@ip~]# echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

but when i do it in my jenkins job test, i have this :

[job] $ /bin/sh -xe /tmp/hudson866244923995655744.sh
+ echo /var/lib/jenkins/tools/chromedriver:/var/lib/jenkins/tools/chromedriver:/sbin:/usr/sbin:/bin:/usr/bin

i can't understand why this different bitween server os and Jenkins ?!!

i tried to make this line in the /etc/init.d/jenkins :

export PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:$PATH

it's works for 2 weeks but they don't now !!!

any help not by the envinject jenkins plugin (i dont like this Plugin)

Thanks
Reply all
Reply to author
Forward
0 new messages