Goodmorning ,
I've a plan defined as follow
version: 2plan: !include 'variables/build/plan.yaml'triggers: !include 'variables/triggers.yaml'other: concurrent-build-plugin: system-default force-stop-build: true all-other-apps: custom.buildExpiryConfig: duration: '2' period: weeks expiryTypeResult: 'true' enabled: 'true'branches: create: for-new-branch delete: after-inactive-days: 420 after-deleted-days: 14variables: !include 'variables/var.yaml'repositories: !include 'variables/repository.yaml'stages: !include 'variables/build/stages.yaml'test-job: !include 'templates/test.yaml'branch-overrides: - develop: triggers: - remote stages: - Different stage: - Different job Different job: tasks: - script: echo 'develop'
Hi @Gabriele Papi-Jobs ,
Hope you are doing great! Thanks for reaching out to Atlassian Community.
Please be informed that the repository where the specs code is stored should be linked to the Bamboo plan. Then, only the branches created in the specs repository where the specs code is stored can be created as specs branches in Bamboo, and branch overrides will be applied for those branches only created in the specs code repository.
The branches for the normal repository(without specs enabled in Bamboo) linked to the Bamboo plan will not be converted to specs branches, and branch overrides will not be applicable for repositories where specs are not enabled.
So, for plan branches to be converted to specs branches, the repository where branches are created should be a specs-enabled repository, and the plan should be published in Bamboo through that repository. That same repository should also need to be linked to the plan. Then, only branches will be converted to specs branches, and overrides configuration will be published to those branches.
Please also refer to this document: Enhanced Plan branch configuration , which explains the same and the prerequisites required for using an Enhanced plan branch configuration.
Best Regards,
Jyothi
**please don't forget to Accept the answer if your query was answered**
It looks like you're new here. Sign in or register to get started.