Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need help with 'addEnvironmentTask' for 'SSH task' using Bamboo CLI actions - Bobswift Docs

Mohammed Asif, Nabil December 8, 2022

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

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events