cucucool
cucucool

Reputation: 3887

Bamboo - Create deployment trigger automatically when a new branch is created

I am using Bamboo and other Atlassian products for my CI/D workflow and would like to know about the following.

In Bamboo build plans, there is an option of creating a new plan branch when a new branch(in Atlassian stash) is created. I would like to know how to do the same for deployment. As of now, I have created triggers for my environment in the deployment project and I need to manually create a new "After successful build" trigger every time I create a new branch. Is there any configuration to automate this ?

Upvotes: 5

Views: 2826

Answers (1)

Borys Kupar
Borys Kupar

Reputation: 1721

Unfortunately it's not possible to have deployment triggers from automatically created branches. You need to do this manually. Alternative solution to deploy the code from newly created branches would be to get rid off Deployment Project, and just add those tasks to build plan configuration itself. But of course this approach is not really flexible as Bamboo Deployment Project.

Upvotes: 4

Related Questions