I am using Bobswift - Bamboo CLI tool to add environment tasks
Task type: SSH
Action: addEnvironmentTask
There are no good examples of using the task. I get errors telling me to make sure I use the field and value parameters properly. Need assistance.
My command:
./acli bamboo --server http://bamboo.xxx.com --user xxx --password xxx --action addEnvironmentTask --deploymentProject "Deployment Project for PROD" --environment "PROD-test" --taskKey "SSH" --field "host=xxx.xxx.com" --field "username=xxx" --field "authType=PASSWORD" --field "password=xxx" --field "command=bash script.sh" --field "passwordAuthTypeSource=PASSWORD" --final -v