Valid AZ-400 Dumps shared by ExamDiscuss.com for Helping Passing AZ-400 Exam! ExamDiscuss.com now offer the newest AZ-400 exam dumps, the ExamDiscuss.com AZ-400 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com AZ-400 dumps with Test Engine here:
You have a project in Azure DevOps. You create the following YAML template named Template1.yml. steps: - script: 9pm install - script: yarn install - script: 9pm run compile You create the followingpipeline named File1.yml. parameters: users steps: - task: MyTask@1 - script: echo Done You need to ensure that Template1.yaml runs before File1.yml. How should you update File1.yml?
Correct Answer: C
Explanation Azure Pipelines offers two kinds of templates: includes and extends. Included templates behave like #include in C++: it's as if you paste thetemplate's code right into the outer file, which references it. To continue the C++ metaphor, extends templates are more like inheritance: the template provides the outer structure of the pipeline and a set of places where the template consumer can make targeted alterations. Example: extends: template: template.yml@templates parameters: usersteps: - script: echo This is my first step - script: echo This is my second step Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/security/templates