You use cloud-hosted Jenkins to build code stored in Azure Repos. Which three actions are required so Jenkins can retrieve source from Azure Repos? (Choose three.)
Choose an answer
Tap an option to check your answer.
Correct answer: Add a personal access token to your Jenkins account., Create a personal access token (PAT) in your Azure DevOps account., Create a service hook in Azure DevOps..
Why this is the answer
To allow Jenkins to retrieve code from Azure Repos, you need to establish secure authentication and trigger mechanisms. First, you must Create a personal access token (PAT) in your Azure DevOps account. This PAT acts as an alternative password, granting Jenkins specific permissions to access your Azure Repos. Next, you need to Add a personal access token to your Jenkins account. This involves configuring Jenkins with the PAT you generated in Azure DevOps, typically in the credentials store, so Jenkins can use it for authentication. Finally, to automate builds upon code changes, you must Create a service hook in Azure DevOps. This service hook sends a notification to Jenkins whenever a specific event occurs in Azure Repos (e.g., a code push), triggering a build. "Create a webhook in Jenkins" is incorrect because webhooks are typically for Jenkins to notify other services, not for Azure DevOps to notify Jenkins. "Add the Team Foundation Server (TFS) plug-in to Jenkins" is outdated; while Jenkins has Azure DevOps integrations, the specific "TFS" plugin is not the primary or sole requirement for this modern integration.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed