GoCD在管道上运行bash脚本
问题描述:
我有一个名为Funcional_Test的管道,我试图在该路径上运行以下路径中的脚本:/home/vagrant/VirtualMachines/software_test.sh
I got a pipeline called Funcional_Test, I'm trying to run on that pipeline a script located in this path: /home/vagrant/VirtualMachines/software_test.sh
这是te配置:
当我运行管道时,出现以下错误:
When I run the pipeline I got these errors:
我错过了什么吗?我该怎么做才能解决此问题?
Am I missing something? What can I do to fix the issue?
答
Command中的/bin/sh语句(更改取决于脚本类型) 在同一行的参数"部分中提及脚本文件
Mention /bin/sh in Command (change it depends on the script type) Mention the script file in Arguments section in same line