Bitbucket
Guide on integrating Bitbucket with Ketryx
Last updated
Was this helpful?
Guide on integrating Bitbucket with Ketryx
Last updated
Was this helpful?
This section provides an introduction to the integration of Bitbucket with Ketryx. Our focus is on outlining the process of setting up this integration, utilizing App Passwords and Repository Access Tokens, to enhance your software development practices. This guide will walk you through the steps required to establish a connection between Bitbucket and Ketryx.
Tools used to develop and release a product with Ketryx Lifecycle Management are provided in . The release process is described in detail in , while setting up code repositories is described in .
The integration process with Bitbucket varies slightly depending on whether you are working with public or private repositories. Here's a breakdown of the key differences:
Accessibility: Public repositories are open to the public, meaning that anyone can view the repository content and its history.
Integration Setup: For public repositories, the setup process for integrating with Ketryx is generally straightforward. You do not need to use a access tokens for basic integration tasks, such as SOUP dependency analysis.
Data Retrieval: Accessing publicly available data from Bitbucket, like pull requests or code changes still requires a Repository Access Token to access Bitbucket's API.
Accessibility: Private repositories restrict access to authorized individuals or collaborators. Only those with permission can view and interact with the repository.
Integration Setup: When integrating with private repositories, you typically require an access token. This token ensures secure and authorized communication between Bitbucket and Ketryx for tasks like SOUP dependency analysis and Code Change Reviews.
It's important to consider your repository's visibility when setting up the integration, as public and private repositories have distinct access requirements. The integration guide provides specific instructions based on the type of repository you are working with, ensuring a seamless and secure integration experience.
The same authentication method is used to fetch the Git repository (for SOUP dependency analysis) as well.
The repository access token needs to have at least the following permissions:
Repository: Read
Pull requests: Read
When entering the authentication credentials in Ketryx, set the following:
Password: (the access token)
When entering the authentication credentials in Ketryx, the username has no effect, but the password should be the App Password.
A guide on how to create such a token can be found .
Username: x-token-auth
(as a verbatim value, as documented )
Please see for information on how to create an App Password.
Ketryx supports SOUP dependency analysis using an App Password for private repositories. Only by using the Repository Access Token can you access Code Change Reviews as well. See for more information.
For information on how to use the Code Change Review feature, please see the .