You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to get Gitlab working with Bamboo Specs on Bamboo 6.5. I have created a linked repository with Bamboo specs enabled. From Bamboo I received a 'scan' URL, which I inserted in Gitlab Intergrations.
Whenever the hook is hit, I get te following response:
{"message":"You do not have sufficient read permissions","status-code":401}
The push from Gitlab has no credentials, only the URL in format:
https://<bamboo server>/rest/api/latest/repository/scan?repositoryId=<id>
I tested the solution proposed by @Siddhant Gogri and it true, if you're not allowing anonymous users to access Bamboo, the RSS will not be triggered.
As I'm pretty sure this is not the expected behavior, I've raised a bug report:
Please be sure to watch it, so that you are notified when this is fixed in a future release.
Thank you guys for reporting this.
Even I faced the same issue with Bamboo 6.5 and Github.
Since my dev bamboo is internally hosted, I enabled anonymous access and I could go pass that error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sander,
Could you please double check if the repository has access to the project you're trying to edit? You can check this in the repository configuration>Bamboo specs tab.
If you want to grant access to a build project, please follow the steps below:
To add a Build project:
- From the Bamboo header, click Projects.
- Click your project.
- In the top-right corner, click Project settings.
- In the sidebar, click Bamboo Specs repositories.
- Select your repository and click Add.
More details can be found at the Enabling repository-stored Bamboo Specs page
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have checked the steps you described; the repository is for the project an allowed Bamboo Specs repository. The repository is listed in the Bamboo Specs repositories under the project I had written the Bamboo YAML spec for.
But should it work only with that URL? For example, doing a curl -XPOST with that URL from Bamboo should normally work? When I do that with curl I received the same error.
The project I have described in Bamboo spacs exist, but the plan does not exist, is that correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sander,
Yes, running curl -x https://<bamboo server>/rest/api/latest/repository/scan?repositoryId=<id> should trigger the change detection in Bamboo.
Did you check if bamboo is throwing any error in the logs?
Yes, the project doesn't need to exist in Bamboo, only the project.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.