[英]Jenkins can't execute an existing binary file
我試圖在我的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
存在,詹金斯文件也找不到它!
我試圖在64位系統上執行32位二進制文件,這個問題!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.