我正在尝试在我的詹金斯工作中执行shell脚本:
ls -la /tmp/firefox-portable/firefox
chmod +x /tmp/firefox-portable/firefox
/tmp/firefox-portable/firefox
我收到此错误消息:
+ ls -la /tmp/firefox-portable/firefox
-rwxr-xr-x 1 jenkins jenkins 202720 Feb 21 17:47 /tmp/firefox-portable/firefox
+ chmod +x /tmp/firefox-portable/firefox
+ /tmp/firefox-portable/firefox
/tmp/jenkins6967163423349999441.sh: 4: /tmp/jenkins6967163423349999441.sh: /tmp/firefox-portable/firefox: not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE
即使这个文件/tmp/firefox-portable/firefox
存在,詹金斯文件也找不到它!!
答案 0 :(得分:0)
我正在尝试在64位系统上执行32位二进制文件,这就是问题!