(Video for reference - https://youtu.be/4GNHNhUVGxE)
You can either create your own GitHub repository with a Maven project or for simplicity, you can fork an existing reposiTtory that already contains a sample Maven project and the necessary Azure Pipelines YAML file. For this experiment, we will proceed by forking the provided repository.
Open your web browser and navigate to the following GitHub repository:
Fork the repository: Click the "Fork" button in the top right corner of the GitHub page. This will create a copy of the repository under your own GitHub account.


Now, you will create a new pipeline in your Azure DevOps project that connects to your forked GitHub repository.
Log in to your Azure DevOps organization (e.g., https://dev.azure.com/YourOrganizationName).
Navigate to your project created in Experiment 9.
In the left-hand menu, click on Pipelines.
Click on New pipeline.

On the "Connect" tab, select GitHub (YAML file).

You may be asked to authorize Azure Pipelines to access your GitHub account. Follow the prompts to do so.
On the "Select" tab, choose your forked repository (e.g., YourGitHubUsername/your-maven-project). You then have to authorize Azure Pipelines again to select the repository.
On the "Configure" tab, Azure Pipelines will analyze your repository. Since the repository already contains an Azure Pipelines YAML file (azure-pipelines.yml in the root), it should automatically detect and select it.
/azure-pipelines.yml).
Click the run button.