Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I configure YAML specs to trigger the deployment from a specific branch?

According to the doc, I can configured my spec as follow.  But scanning is failing stating that it is unable to locate the triggering branch "dev-branch".  I have dev-branch in my current linked repo.  What is missing?

#----------------------- Dev Environment -----------------------------                
    - build-success:
        branch: dev-branch


2 answers

I'm not quiet understand the instruction above.  Can you provide screen shot as to where I can find the plan's branch name?

My understanding is that plan is already associated to the repository branch, during repository linking.  Am I suppose to create a branch manually in Bamboo plan?

See screenshot

Capture 2019-09-17 at 11.34.16.png

What?  I have to do a half configurations in YAML Specs, follow by manual update in Bamboo configurations, and then go back to YAML Specs to add the configurations?  Wow what a clumzy way for a configuration as code (CaC).

Also, since I purchase a license of Bamboo, isn't any support to fix the above issue?  At lease some kind of fix to allow scanning not to failed.  This is BAD product.

0 votes

Branch name should be the same as name of Plan branch in Bamboo. Not branch name in repository.

Branch name can be found at Display name field at screen by link http://localhost:8085/branch/admin/config/editChainBranchDetails.action?planKey=BRANCH-KEY

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

180 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you