Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,465,475
Community Members
 
Community Events
176
Community Groups

Bamboo spec files are not seen in Develop

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

1 answer

0 votes

MAKE SURE THAT BITBUCKET SERVER AND BAMBOO ARE CONNECTED USING APPLICATION LINK
Go to   > Manage apps > Application links.
MAKE SURE THAT BAMBOO SPECS PROCESSING IS ENABLED IN BAMBOO 
Go to  > Security > Security settings. In the Repository Stored Specs security settings section select Enable Repository Stored Specs.
MAKE SURE THAT BAMBOO SPECS IS ENABLED FOR A REPOSITORY YOU PUSHED TO
Go to  > Build resources > Linked repositories > <your repository>.
In the Bamboo Specs tab, enable Scan for Bamboo Specs.
MAKE SURE THAT BAMBOO SPECS HAS ACCESS TO PROJECTS OR DEPLOYMENT PROJECTS YOU WANT TO MODIFY
Go to  > Build resources > Linked repositories.
Select your Bitbucket Server repository.
Select Enable all projects access or make sure that your build or deployments projects are listed in that section.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events