After you obtained the API integration key and completed project and branch creation, next is to seamlessly integrate ArmourZero's AI-powered Code Scan into your Bitbucket.
Integration guide
1. Go to Code menu and click "Integrate" button.
2. Here you can also able to obtain your API Key by clicking Copy API Key.
3. Follow this video to Enable Pipeline in your Bitbucket repository.
Navigate to your Bitbucket repository and go to "Settings" > "Pipeline" and enable pipelines for your repository.
4. Add Repository Variables
In your Bitbucket repository, go to "Settings" > "Repository Settings" > "Pipelines" and add the required environment variables like AZ_TOKEN.
5. Create a Bitbucket Pipeline Configuration
In the root directory of your project, create a file named bitbucket-pipelines.yml. This file will define your pipeline configuration.
6. Define the Pipeline Configuration
Edit the bitbucket-pipelines.yml file to define your pipeline configuration. Use the provided sample and customise as needed.
7. Commit and Push
Commit the bitbucket-pipelines.yml file and push it to your Bitbucket repository. This will trigger the pipeline.
8. Monitor the Pipeline
In your Bitbucket repository, go to "Pipelines" to monitor the pipeline's progress, view logs, and access build artifacts.