AZ-400 · Question #422
You have a GitHub repository that contains multiple versions of an Azure Pipelines template. You plan to deploy multiple pipelines that will use a template stored in the repository. You need to ensure
The correct answer is D. the branch. If you want to use a particular, fixed version of the template, be sure to pin to a ref. The refs are either branches (refs/heads/<name>) or tags (refs/tags/<name>). If you want to pin a specific commit, first create a tag pointing to that commit, then pin to that tag. https://le
Question
Options
- Athe serial
- Bthe SHA-based hashes
- Cthe runner
- Dthe branch
How the community answered
(58 responses)- A2% (1)
- B5% (3)
- C9% (5)
- D84% (49)
Explanation
If you want to use a particular, fixed version of the template, be sure to pin to a ref. The refs are either branches (refs/heads/<name>) or tags (refs/tags/<name>). If you want to pin a specific commit, first create a tag pointing to that commit, then pin to that tag. https://learn.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure- devops#use-other-repositories
Topics
Community Discussion
No community discussion yet for this question.