Integrating Azure DevOps and Bitbucket Server for Git-based Source Control | Azure DevOps and Bitbucket Integration | AZ-400 Exam Solution

Azure DevOps and Bitbucket Integration

Question

Your company has an on-premises Bitbucket Server that is used for Git-based source control. The server is protected by a firewall that blocks inbound Internet traffic.

You plan to use Azure DevOps to manage the build and release processes.

Which two components are required to integrate Azure DevOps and Bitbucket? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

To integrate Azure DevOps with Bitbucket Server, you need to establish a connection between the two systems. This requires the installation of a self-hosted agent on a server that can communicate with both Bitbucket and Azure DevOps.

The self-hosted agent serves as the bridge between Azure DevOps and Bitbucket. It pulls the source code from Bitbucket and sends it to Azure DevOps for building and release management.

To set up this connection, you need to perform the following steps:

  1. Install a self-hosted agent on a server that can access both Bitbucket Server and Azure DevOps. This server should be located inside your firewall so that it can communicate with Bitbucket Server.
  2. Configure the self-hosted agent to connect to your Azure DevOps organization. This requires generating an agent token in Azure DevOps and configuring the agent to use that token for authentication.
  3. Configure the self-hosted agent to connect to your Bitbucket Server. This requires specifying the URL of your Bitbucket Server and providing credentials for an account that has access to the repositories you want to use.

At this point, you have established a connection between Azure DevOps and Bitbucket Server, and you can begin using Azure Pipelines to build and release your code.

Regarding the given answers, neither A nor B are enough by themselves to establish the connection between Azure DevOps and Bitbucket Server. However, B is a necessary component because you need a self-hosted agent to serve as the bridge between the two systems. A deployment group is a grouping of target machines for deploying a release, and it is not required for integrating Azure DevOps with Bitbucket Server.