-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Bamboo Specs, Bitbucket integration
-
None
I got an error to the tune of "Can't find any repository matching (myusername/xyz)" when uploading my specs to Bamboo.
I had made an assumption that I was adding a linked repository to my plan via the `Plan#planRepository` method. That turned out to be incorrect; I should have been using `Plan#linkedRepository` instead.
I had set up "xyz" as a linked repository. However, what I now understand is that Bamboo contacted a remote repository host on my behalf (in this case: Bitbucket), could not find "myusername/xyz" on it, and returned this error.
My assumption would have been immediately obvious to me if the error message had included more context. Something like:
"Could not find a repository matching (myusername/xyz) on bitbucket.org. Check whether https://bitbucket.org/myusername/xyz exists and is accessible to this Bamboo instance."