gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 11:53:35 26 4
gpt4 key购买 nike

我正在尝试在我的 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 存在,jenkins 文件也找不到它!!

最佳答案

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

关于linux - Jenkins 无法执行现有的二进制文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55230484/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com