You can use Sourcegraph with Git repositories hosted on Bitbucket Server (and the Bitbucket Data Center deployment option).
Feature | Supported? |
---|---|
Repository syncing | ✅ |
Repository permissions | ✅ |
Sourcegraph native code intelligence plugin | ✅ |
Browser extension | ✅ |
Site admins can add Bitbucket Server repositories to Sourcegraph.
Site admins can configure Sourcegraph to respect Bitbucket Server's repository access permissions.
We recommend installing the Sourcegraph Bitbucket Server plugin so each user doesn't need to install and configure the browser extension.
This involves adding a new add-on to your Bitbucket Server instance and see the bitbucket-server-plugin repository for installation instructions and configuration settings.
{ // ... "corsOrigin": "https://my-bitbucket.example.com" // ... }
The Sourcegraph browser extension supports Bitbucket Server. When installed in your web browser, it adds hover tooltips, go-to-definition, find-references, and code search to files and pull requests viewed on Bitbucket Server.