Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,006
Community Members
 
Community Events
168
Community Groups

Trouble using bamboo.yaml on multiple bambooinstance

Hi,

i have a bamboo.yaml in my repository which is used on 2 diffrent bambooinstances.

The Buildplans differ on those instances in some Tasks, which was easy to solve with global-variables and conditional tasks.

But i have problems settings Group-Permissions within the yaml cause the groupnames on bambooinstance-1 and bambooinstance-2 are not equal!

I tried to set the groupname as global-variable too:

plan-permissions:
- users: []
groups: ${bamboo.devteam}

but its no resolving the variable and a yaml parse error occurs with something like "group not found ${bamboo.devteam}"

Is there a way to solve this ? Or any bestpractise how to use multiple bambooinstances on the same project ?

1 answer

1 accepted

1 vote
Answer accepted

It's possible to define server name where YAML and Java specs will be applied, see https://docs.atlassian.com/bamboo-specs-docs/7.1.1/specs.html?yaml#multiple-bamboo-servers

Thanks :) Is there a way to find the Server-Name without beein admin ? Or is this equal to the url ?

It's added as postfix to every page title, like here name is "server-gdn-bamboo"Screenshot 2021-03-16 at 11.36.43.png

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events