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
server2.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