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?
Try https://marketplace.atlassian.com/apps/1219706/conditional-tasks-for-bamboo?hosting=server&tab=overview it allows to add condition for user who executes build
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.