Actually, I was just looking at the error again.  Jenkins can find the accurev 
executable…the problem is a missing directory.

 

Does this exist?

 

/data/shared/build/reftree/utd_jbr-test

 

 

From: Sapientlife [mailto:[email protected]] 
Sent: Friday, May 16, 2014 4:00 PM
To: [email protected]
Subject: Re: AccuRev plugin not finding executable

 


Hi Jason,

Here's  part of the output from the 'env' command:

[jenkins@releng01p ~]$ env

TOMCAT_HOME=/opt/tomcat/apache-tomcat-7.0.42

HOSTNAME=releng01p.utd.com

M2=/data/shared/build/tools/apache-maven-3.0.5/bin

SHELL=/bin/bash

TERM=xterm

HISTSIZE=1000

QTDIR=/usr/lib64/qt-3.3

QTINC=/usr/lib64/qt-3.3/include

ANT_HOME=/data/shared/build/tools/apache-ant-1.9.0

INSTALL4J_JAVA_HOME=/opt/java/jdk1.6.0_23

USER=jenkins

LD_LIBRARY_PATH=/opt/oracle/instantclient

LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:

ACCUREV_TOOL=/data/opt/AccuRev/bin

TNS_ADMIN=/home/tomcat0/utd/config

MAIL=/var/spool/mail/jenkins

PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/dell/srvadmin/bin:/data/opt/AccuRev/bin:/home/jenkins/bin:/data/shared/build/tools/apache-ant-1.9.0/bin:/opt/java/jdk1.7.0_45/bin:/data/shared/build/tools/android-sdk-linux-r22/tools:/data/shared/build/tools/apache-maven-3.0.5/bin

ANDROID_SDK_HOME=/data/shared/build/tools/android-sdk-linux-r22

PWD=/home/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.

Reply via email to