Jenkins未执行构建脚本
问题描述:
Jenkins未执行构建脚本。这里可能是什么问题。我有一个脚本,如/bin/sh /apple/orange/grape -t all -i
。所有这一切都不承认。这与环境变量有什么关系?Jenkins未执行构建脚本
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:
答
不要在Jenkins的“execute shell”构建步骤中明确写出/bin/sh
。
/apple/orange/grape -t all -i