Forums

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

Is it possible to configure two different servers to handle three separate projects—two projects otr

Ramchandh May 14, 2025

I have two servers—server1 and server2. Previously, I maintained a single bamboo.yml file where all new plans were defined. However, this led to issues because:

  • proj-1 is hosted on server1, and

  • proj-2 and proj-3 are hosted on server2.

When all projects were included in the same bamboo.yml file:

  • server2 threw an error saying proj-1 doesn’t exist.

  • server1 threw errors for proj-2 and proj-3.

To resolve this, I created two separate YAML files:

  • One for proj-1

  • One for proj-2 and proj-3

Both these files are referenced in the main bamboo.yml.

Under "Change Detection Options" in Bamboo, I opted to use the "exclude files" setting with a regex pattern to avoid triggering builds on unrelated changes. However, this doesn’t seem to be working as expected.

Could you please help me identify the issue and suggest a fix?

bamboo.yml


---
!include 'server1.yml'
---
!include 'server2.yml'


server1.yml


version: 2
!include 'plan-permissions/revops-trunk-user-plan-permission.yml'
!include 'plans/proj-name-x/revops-trunk.yml'

server2.yml


version: 2
!include 'plans/proj-name-y/goops.yml'
!include 'plan-permissions/goops-user-plan-permission.yml'

I have also configured a change detection option:
to exclude all changes that matches proj-name-y in server1

to exclude all changes that matches proj-name-x in server2
but this is not working, can you help to fix this

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events