I'm trying to enable Bamboo Specs on a server that is running Bamboo 6.5.0.
I've followed this tutorial: https://confluence.atlassian.com/bamboo/tutorial-bamboo-java-specs-stored-in-bitbucket-server-938641946.html
The Bamboo Specs repository is created like this:
1. Open Navbar -> "Create" -> "Create Bamboo Specs"
2. In the wizard dialog, select the Project and link a new repository from a "Bitbucket Server / Stash" and click "Create".
3. Create the file "bamboo-specs/bamboo.yaml" in the repository at Bitbucket Server. The content of the YAML is the Dragon Slayer spec from the example.
Everything looks good, but when I push a change in Bitbucket Server, Bamboo does not create a plan. I do not see any log output in the tab "Specs status" of the "Linked repository" and I also do not see anything in the logs of the Bamboo server that would indicate that Bamboo is doing anything.
I've checked https://confluence.atlassian.com/bamboo/enabling-repository-stored-bamboo-specs-938641941.html and also read through all the points in the troubleshooting docs (https://confluence.atlassian.com/bamboo/bamboo-specs-troubleshooting-938844477.html) and ensured that everything is set up as described there.
As I do not find any error messages, I do not know what else to do. Any hints?
The Application Link might not be functioning correctly.
When the commit is pushed to Bitbucket Server, is there any following log message in Bamboo log?
2018-05-18 23:00:54,783 INFO [http-nio-8085-exec-24] [AuthenticatorImpl] Authenticated app 'Bitbucket:6798726783' as user 'null' successfully
2018-05-18 23:00:54,783 INFO [http-nio-8085-exec-24] [AccessLogFilter] 127.0.0.1 POST http://localhost:8085/rest/remote-event-consumer/latest/events/stash-branch-changed-remote-event 334926kb
This log message means that Bitbucket Server send a remote event trigger to Bamboo server.
You can check Bamboo Administration > System > System information > Linked Bitbucket Server instances to check the status of the remote event too.
Try recreating the Application Link.
Warning on this course of action.
W have same issue with bamboo not finding the yaml file,
resetting the bitbucket bamboo links destroyed the existing links for all linkedrepos, bamboo would no longer build off of commits.
I think root cause is some sort of rest of the ssh keys, any way had to delete all linkedrepos and then re add the mall again to get them to work., simply re saving them did not work.
Additional oddity, bamboo would actually pick up the commits after a restart, but only once...who knows?
For us this was also after a major version increase in Bamboo from a 5 version to 6.7, with bitbucket at 4.14.
Recreating Application Link should not cause problem to SSH keys.
SSH keys are stored in different location that is not related to Application Link. Editing existing repositories will show that the link is gone and need to re-save but it will not affect the checkout process cause the SSH keys are stored in different location.
Since this question have been answered, can you raise another question with error log?
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events