Code Review Assistant officially supports Bitbucket Server and does not run on Atlassian's Cloud platform.
The app mirrors Git repositories for which it is enabled to a temporary directory to be able to run static code analyzers on it (Bitbucket’s bare repositories cannot be used for this as non-bare Git repos with a working directory are needed).
These bitbucket_home/tmp/crarepos* directories can be safely deleted and you should do this regularly to not exceed your disk quotas. The app will re-create the clones for new pull requests again.
There are two ways to install Code Review Assistant, both using the Universal Plug-in Manager:
Installing Code Review Assistant directly from Atlassian Marketplace
- Click the admin drop-down on your Bitbucket Server instance and choose Add-ons.
- Click Find new add-ons from the left-hand side of the page.
- Locate Code Review Assistant via search.
- Click Install to download and install Code Review Assistant.
- You're done!
Installing Code Review Assistant by file upload
- Download Code Review Assistant on the Atlassian Marketplace (Details Tab, click the download button).
- Click the admin drop-down on your Bitbucket Server instance and choose Add-ons.
- Click Manage Add-ons...
- Click the Upload add-on link at the top right side of the page.
- Enter the location of the JAR file you downloaded.
- Click Upload.
- You're done!