I'm trying to see how Bitbucket and FishEye/Crucible integrate and so far I've been coming up with no documentation from both Bitbucket and FishEye. I take this to mean that each Bitbucket repository must be added individually as a separate Git repository to allow for code review. Is this true or is there a more automatic method? It seems like a significant amount of overhead for project(s) that could spawn many repositories.
Hi Stephen,
The article Adding an external repository that is linked from Integrating FishEye with Bitbucket Server provides the steps to add a repository and it is a manual operation:
When Bitbucket Server is integrated with FishEye:
- You can easily add Git repositories to FishEye. The repository behaves just like a native repository in FishEye, so your team gets all the benefits of FishEye indexing, browsing and searching.
- The repository becomes available to Crucible (when integrated), so you can perform in-depth code reviews for changes in the repository.
- When you add a Bitbucket Server repository to FishEye, a push to the repository will by default automatically trigger FishEye to run an incremental index. No further configuration is required – you don't have to configure polling for new commits, or set up dedicated FishEye web hooks in your Bitbucket Server instance.
You'll need to have an account in the Bitbucket Server instance, as well as permission to view the repository that you want to add.
Click the 'cog' menu in the FishEye header, and choose Administration (you'll need to be logged in as an administrator to see this link).
Click Repositories (under 'Repository Settings').
Click the Bitbucket Server repositories tab, and authenticate with Bitbucket Server if necessary.
If multiple instances of Bitbucket Server are connected to FishEye, use the Bitbucket server list to choose the instance of Bitbucket Server that hosts the repository you wish to add.
Optionally, type a filter pattern to restrict the list of displayed repositories to those with a matching name, key or project.
Click Add for each repository that you wish to add to FishEye.
If the name of repository conflicts with already existing one, you will be asked to specify a different name
I can see the utility of the repos being manually added so please go to JAC and create a Suggestion for this behavior and put your use case in the description. If you do that please add the link to this thread so the Community can vote on it.
Cheers,
Branden
Ok, not sure how I missed that the when searching the docs the first time. The key is on https://confluence.atlassian.com/fisheye/integrating-fisheye-with-bitbucket-server-587303683.html where you add an application link between FishEye and Bitbucket. After that you get the one-click repository adding.
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.