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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.