Ok…log onto the server as use jenkins and run the command ‘env’….look at the PATH variable and make sure accurev is llisted.
From: Sapientlife [mailto:[email protected]] Sent: Friday, May 16, 2014 3:53 PM To: [email protected] Subject: Re: AccuRev plugin not finding executable Hi Jason, here's the output frrom ps-ef|grep jenkins also all builds are run on the Jenkins server as master I'm not using any slave nodes [jenkins@releng01p ~]$ ps -ef|grep jenkins root 21855 2510 0 May14 ? 00:00:00 sshd: jenkins [priv] jenkins 21859 21855 0 May14 ? 00:00:01 sshd: jenkins@pts/2 jenkins 21860 21859 0 May14 pts/2 00:00:00 -bash jenkins 21896 21860 0 May14 pts/2 00:00:00 -csh root 28518 2510 0 13:25 ? 00:00:00 sshd: jenkins [priv] jenkins 28523 28518 0 13:25 ? 00:00:00 sshd: jenkins@pts/0 jenkins 28524 28523 0 13:25 pts/0 00:00:00 -bash jenkins 29311 1 2 14:29 ? 00:07:04 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/data/shared/build/reftree/.jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 root 36250 34677 0 19:28 pts/1 00:00:00 su - jenkins jenkins 36256 36250 0 19:28 pts/1 00:00:00 -bash jenkins 36448 36256 0 19:50 pts/1 00:00:00 ps -ef jenkins 36449 36256 0 19:50 pts/1 00:00:00 grep jenkins On Friday, May 16, 2014 1:35:40 PM UTC-4, Sapientlife wrote: Hi, Has anyone had this error when trying to use the accurev plug-in? Al my builds are run on the master jenkins server account. fyi I commented out the password and the server name in the below error output. Thanks, started by user HYPERLINK "http://releng01p:8080/user/null"anonymous Building on master in workspace /data/shared/build/reftree/utd_jbr-test Authenticating with Accurev server... [utd_jbr-test] $ accurev login -H HYPERLINK "http://AccuRev01p.utd.com:5050"AccuRev01p.utd.com:5050 build ******** FATAL: ******.*****.com: login (accurev login -H HYPERLINK "http://AccuRev01p.utd.com:5050"AccuRev01p.utd.com:5050 build ********) failed with java.io.IOException: Cannot run program "accurev" (in directory "/data/shared/build/reftree/utd_jbr-test"): error=2, No such file or directory HYPERLINK "http://stacktrace.jenkins-ci.org/search?query=java.io.IOException"java.io.IOException: Cannot run program "accurev" (in directory "/data/shared/build/reftree/utd_jbr-test"): error=2, No such file or directory -- 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 HYPERLINK "mailto:[email protected]"[email protected]. For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
