由匿名用户启动
Building on master in workspace /var/lib/jenkins/workspace/Run script
[Run script] $ /bin/bash -xe /tmp/jenkins2969604061590363450.sh
+ which java
/usr/bin/java
+ which pybot
Build step 'Execute shell' marked build as failure
Finished: FAILURE
问题是詹金斯无法识别pybot的路径,在命令行中,相同的命令可以正常工作:
user@test-vm:/home$ which pybot
/opt/test-vm/python/bin/pybot
问题出在哪里?我应该将它添加到PATH的某个位置吗?
谢谢。