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

Bamboo Deployment plan - determining cause of trigger

Subhi Andrews April 4, 2019

In our bamboo deployment environments, we would like to execute a task step only if it was manually triggered by a user. If it was triggered using an automatic trigger like scheduled or after another successful deployment, we would like to skip a task. Is there a way to achieve this?

1 answer

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2019
Subhi Andrews April 5, 2019

This could work.

But we want a certain thing to happen when deployment environment is automatically triggered vs we do not want it to happen when the environment is manually triggered. We will need a mechanism to add multiple users in the condition or need to know what the username will be when the job is automatically triggered. It seems we can have only one username used in the condition. 

Another way would be to have a variable that would set (or unset) for manual deployment vs automatically triggered deployment.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events