Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I have existing bamboo yaml but I now want to add another repo into it which I need in one stage.

kranthi kiran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 2, 2025

When I add another repo I get error that xyz repo is not permitted to use following repositories if I put scope as global or project. 

How can I add another repo into the already existing bamboo yml . where one repo I need for linked repo where I have bamboo yml and another repo for use in plan stages. 

2 answers

0 votes
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 4, 2025

Welcome to Atlassian community

Can you follow the steps defined here to define multiple repositories to a plan > https://docs.atlassian.com/bamboo-specs-docs/9.6.9/specs.html?yaml#creating-linked-repositories

Example like this

repositories:
- projectrepo2:
scope: project
- testrepo2:
scope: global

If you already trying this, can you share what exact error you are getting.

Regards,

Shashank kumar

**please don't forget to Accept the answer if your query was answered**

 

0 votes
oscarhakinn1 April 2, 2025

But the second one is the way to go just use he IF/ELSE for each one then move your branchess under the appropriate IF. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events