bashgo-cd

GoCD run bash script on Pipeline


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

This is te configuration: enter image description here

When I run the pipeline I got these errors: enter image description here

Am I missing something? What can I do to fix the issue?


Solution

  • enter image description here

    Mention /bin/sh in Command (change it depends on the script type) Mention the script file in Arguments section in same line