Cloud Services

DevOps Intelligence

Atlassian Bitbucket, Bitbucket Cloud and Bitbucket Server
Published On Jun 20, 2024 - 10:21 AM

Atlassian Bitbucket, Bitbucket Cloud and Bitbucket Server

Bitbucket Cloud is a Git-based code hosting and collaboration tool built for teams. DevOps Intelligence supports your use of Bitbucket Cloud.
Bitbucket is a tool that gives teams one place to plan projects, collaborate on code, test, and deploy. It provides one place for teams to collaborate on code from concept to Cloud, build quality code through automated testing, and confidently deploy code.

Bitbucket Cloud

For DevOps Intelligence to pull data from Bitbucket Cloud, you must configure a Bitbucket Cloud account.
DevOps Intelligence will require the following information to create a Bitbucket Cloud account:
  • Name
    : peer account name. It could be any string and is used only for reference.
  • Host
    : Bitbucket cloud Host URL.
  • Auth Type
    : Authentication to be used for a given Bitbucket client. It has a value shown as token, which can be used for API token-based Authentication.
For API token-based authentication, the following authentication fields are required in addition to common fields:
  • User:
    Username for Bitbucket. This is generally the username with which the user logged in to Bitbucket.
  • APIKey:
    Personal access token, generated from the following menu selection: your profile and settings → personal settings → app passwords
The application also requires the following Bitbucket Cloud permissions:

Bitbucket Server

Bitbucket Server is self-hosted Git repository collaboration and management for professional teams. DevOps Intelligence supports your use of Bitbucket Server. This topic describes the configuration requirements for this tool. For DevOps Intelligence to pull data from Bitbucket Server, you must configure a Bitbucket Server account.
DevOps Intelligence will require the following information to create a Bitbucket Server account:
  • Name: peer account name. (Any string; used only for reference)
  • Host: Bitbucket server Host URL
  • Auth Type: Authentication to be used for a given Bitbucket client. It has a value shown as token, which can be used for API token-based Authentication.
For API token-based authentication, the following authentication fields are required in addition to common fields:
  • User:
    Username for Bitbucket. Generally the username with which user logged in to Bitbucket.
  • APIKey:
    Personal access token, generated from the following menu selection: your profile and settings → personal settings → app passwords.
The permissions selections in the personal access token screen should be as in the following image:
The application also requires the following Bitbucket Server credentials:
  • Bitbucket Server: Choose whether  the account belongs to Bitbucket server version.

Configuration

The user needs to select the workspace for Bitbucket Cloud. Please note that Bitbucket server doesn't support workspace. DevOps Intelligence considers
default
as a workspace for  Bitbucket server. The user needs to select the projects or repos which need to be tracked through the DevOps Intelligence tool. For this purpose, tracking can be done at two levels:
  • Project Level: This will track all the repositories comprising this project.
  • Repository Level: This will track that particular repository.

Project level tracking

For this type of tracking, certain selections have to be made in the system, as follows:
  • Account: Refers to the account through which the tracking will be done.
  • Select Workspace for Bitbucket cloud: By clicking here, a list will display showing all the workspaces that the account above selected is a part of. Select any workspace to get the list of projects and repos in it.
  • Select Tracking Type: Select
    Project
    for Project level tracking
  • Search Project: By clicking here, a list will display with all the projects the account selected is a part of, yet DevOps Intelligence still does not track it. Then, select any project to be tracked and select configure.
Do you have two minutes for a quick survey?
Take Survey