Reattaching Bitbucket Projects
At AutoRABIT, we have made some changes to make our Bitbucket project webhooks more secure. To take advantage of this change, Bitbucket projects that were created in CodeScan need to be reattached.
CodeScan Cloud allows you to do this without erasing the historical data present in your project. It will only reconnect the CodeScan project with the Bitbucket repository.
This only affects projects created in CodeScan with our internal integration.
This DOES NOT include:
Projects created from Bitbucket pipelines
Projects being cloned from Bitbucket and scanned from a separate CI platform
Follow these steps to reattach your project analysis:
Open your Bitbucket project.
Navigate to the Project Settings > Project Analysis page.
Click on Delete Analysis.
Make sure you do not have the "Delete this project also?" box checked. This will delete your history and is not reversible. Click Delete Analysis.
Now use the Attach Analysis Project button at the top right of the screen to re-add the link.
You will now see a new popup window. Select the required option from the options given (e.g., Bitbucket).
Once you select Bitbucket, it will redirect you to the Bitbucket login page. Validate your credentials and click on Login.
Choose your repository.
Make sure you select the checkbox under Check Pull Requests.
Once you fill out all the details in the popup window, select Add and Run Now.
This triggers the project analysis along with the project being added under your CodeScan organization.
Last updated