Jenkins没有执行构建脚本。这可能是什么问题。我有一个像/bin/sh /apple/orange/grape -t all -i
这样的脚本。一切都不承认在这里。这与环境变量有什么关系吗?
Building remotely on ..... in workspace /var/hudson/workspace/build
[Build] $ /bin/sh /tmp/hudson5936377040956096308.sh
[Build] $ /bin/sh /tmp/hudson1897855282333303575.sh
/bin/sh: all: No such file or directory
Build step 'Execute shell' marked build as failure
Thanks for any help:
答案 0 :(得分:1)
不要在Jenkins“执行shell”构建步骤中明确写入/bin/sh
。仅提供命令,如控制台:
/apple/orange/grape -t all -i