We are currently experiencing an issue on Bamboo spec files and we hope you can help.
The issue:
We have created a simple spec file, this spec file runs fine while it’s running from any branch. However, when we merge the specfile to develop (our default branch) it’s not being detected by bamboo anymore. When we scan for specfiles (under linked repositories) it tells the scan went okay but gives the following message:
“07-Jul-2022 04:39:34 Bamboo Specs haven't been found in repository 'repo name'. All plans managed by Bamboo Specs stored in this repository will be disabled. If you haven't deleted Bamboo Specs intentionally, make sure you have placed your Bamboo Specs in the bamboo-specs directory under the repository root.”
However, the file is there in bitbucket and when we check out our develop branch
If I change the linked repository branch back to my other branch the bamboo spec is imported. We have tried several things to resolve the issue but noting seems to work.
Some of the things we tried and observed are the following:
- If we fork the repository and try the same branch from the Fork it works fine without any changes
- If I create branch from develop and change the linked repository to that branch it works fine
- We tried clearing the cache on the bamboo server (<bamboo_home>/local-working-dir/serverSide/REPOSITORY_STORED_SPECS)
- We tried different file names (bamboo-specs/bamboo.yaml and bamboo-specs/bamboo.yml)
- We tried committing a simple (just echo) bamboo.yml file straight to Develop
- We tried creating another linked repository
- We disabled the bitbucket mirror
However, noting of the above seems to make any difference. We are highly depending on our develop branch so it is needed for us to get this to work.
Is there anything we can try to resolve this issue?
Regards,
Janus