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?
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.