Teamcity 运行 命令行自定义脚本出错
error on Teamcity running command line custom script
我正在尝试 运行 Teamcity 上的命令行自定义脚本并收到此错误 (127):
[02:22:25][Step 1/1] /mnt/teamcity/temp/agentTmp/custom_script8657691082445726475: 1: /mnt/teamcity/temp/agentTmp/custom_script8657691082445726475: ./run.sh: not found
[02:22:25][Step 1/1] Process exited with code 127
[02:22:26][Step 1/1] Step run protractor test (Command Line) failed
有什么想法吗?
您的脚本的某些依赖项似乎没有在预期的位置找到:
./run.sh: not found
这就是你的剧本吗运行?还是您的脚本正在尝试调用该脚本?
解决它的方法是添加 'Agent Requirements'(在构建配置设置下)说 'system.agent.name' 等于我们使用的代理的名称。
我正在尝试 运行 Teamcity 上的命令行自定义脚本并收到此错误 (127):
[02:22:25][Step 1/1] /mnt/teamcity/temp/agentTmp/custom_script8657691082445726475: 1: /mnt/teamcity/temp/agentTmp/custom_script8657691082445726475: ./run.sh: not found
[02:22:25][Step 1/1] Process exited with code 127
[02:22:26][Step 1/1] Step run protractor test (Command Line) failed
有什么想法吗?
您的脚本的某些依赖项似乎没有在预期的位置找到:
./run.sh: not found
这就是你的剧本吗运行?还是您的脚本正在尝试调用该脚本?
解决它的方法是添加 'Agent Requirements'(在构建配置设置下)说 'system.agent.name' 等于我们使用的代理的名称。