Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can not find executable in PATH on agent

Odd Vinje October 6, 2011

My Java integration tests make a call to "svn". But tthe agent can not find the command. I have added this executable with correct path (/progs/bin/svn) as a capability to the agent. But it does not show up in the log when starting the job:

Beginning to execute external process for build 'App - trunk - install'
... running command line:
/com/prosess/maven/bin/mvn
-Djava.io.tmpdir=/var/tmp/nnn
clean
install
... in: /com/data/bamboo-v322/xml-data/build-dir/nnnn
... using extra environment variables: MAVEN2_HOME=/com/prosess/maven JAVA_HOME=/com/opt/jdk M2_HOME=/com/prosess/maven PATH=/com/opt/jdk/bin:/com/opt/jdk/bin:/com/prosess/maven/bin:/com/prosess/ant/bin:/com/sbin:/usr/bin

1 answer

1 accepted

1 vote
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 6, 2011

Does it work if you specify

PATH=/progs/bin/svn

in your environment variables section in the maven task definition?

Odd Vinje October 6, 2011

It works, thanks! But this should have been handled by the agent capabilities.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events