Jenkins无法执行现有的二进制文件

时间:2019-03-18 21:46:12

标签: linux jenkins

我正在尝试在我的詹金斯工作中执行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存在,詹金斯文件也找不到它!!

1 个答案:

答案 0 :(得分:0)

我正在尝试在64位系统上执行32位二进制文​​件,这就是问题!