The standard build plan pattern for a bunch of my plans is the based build plan as follows:
I always have a repo collection of branches of development,test and production for which I normally create build plan branches for when I setup builds from the UI.
However I am now moving these plans to Java Spec and I noticed it isn't clearly defined if you can create Build Plan Branches through Java Spec using a linked repository. This is in contrast to plan repos where it looks possible.
Has anyone worked out how to use a linked repo in a plan and create plan branches using Java Spec?
Hello @David,
From https://docs.atlassian.com/bamboo-specs-docs/latest/specs.html?java#manual-branch-management:
Bamboo allows to manually create plan branches for already existing branches in a repository. Bamboo Specs does not have an option to manually specify plan branches at the moment. You need to use Bamboo to manually create branches after plan is created.
Alternatively, you could create separate plans for each branch. Keep in mind that using this approach you will not be able to use Bamboo branch-specific features (for instance to see them on the “Branch view” page).
Check the link above for an example in Java Specs.
Best regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
So the solution is to create a bunch of new plans that sit side by side?
Is there a feature request to fix this as it seems a bit odd to not have it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @David
Yes; creating multiple Plans is a workaround.
Please check https://jira.atlassian.com/browse/BAM-19808 in the comments for a possible alternative using the REST API using an expanded Java Specs code.
Thank you,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
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.