AZ-400 – Question 170

0
95
Your company uses cloud-hosted Jenkins for builds.

You need to ensure that Jenkins can retrieve source code from Azure Repos.

Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Create a webhook in Jenkins.
B. Add the Team Foundation Server (TFS) plug-in to Jenkins. 
C. Add a personal access token to your Jenkins account. 
D. Create a personal access token (PAT) in your Azure DevOps account. 
E. Create a service hook in Azure DevOps.

Correct Answer: BCD

B: Jenkins requires a plug-in to connect to TFS and check for updates to a project.
Jenkins’ built-in Git Plugin or Team Foundation Server Plugin can poll a Team Services repository every few minutes and queue a job when changes are detected.
C: Use Azure DevOps/ Visual Studio Team Services to create a Personal access token.
D: After you have generated credentials using Visual Studio Team Services, you need to use those credentials in Jenkins.