简体   繁体   English

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

[英]Jenkins can't execute an existing binary file

Im trying to execute a shell script in my jenkins job : 我试图在我的jenkins工作中执行shell脚本:

ls -la /tmp/firefox-portable/firefox
chmod +x /tmp/firefox-portable/firefox
/tmp/firefox-portable/firefox 

and i got this error message : 我收到此错误消息:

+ 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

even if this file /tmp/firefox-portable/firefox existe, jenkins file can't find it !! 即使这个文件/tmp/firefox-portable/firefox存在,詹金斯文件也找不到它!

我试图在64位系统上执行32位二进制文​​件,这个问题!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM