-
Notifications
You must be signed in to change notification settings - Fork 29
/
armttk-pipeline.yml
31 lines (27 loc) · 1.05 KB
/
armttk-pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
trigger: none
pr: none
pool:
vmImage: 'windows-latest'
stages:
- stage: QualityCheckStage
displayName: Quality Check Stage
jobs:
- job: ARMTTKJob
displayName: Run Azure Resource Manager (ARM) Template Tool Kit (TTK) Tests
steps:
- task: RunARMTTKTests@1
displayName: Run ARM TTK Tests
inputs:
templatelocation: '$(System.DefaultWorkingDirectory)\Infrastructure-Source-Code\ARMTTK-TestFiles'
resultLocation: '$(System.DefaultWorkingDirectory)\Results'
# includeTests: 'VM Images Should Use Latest Version,Resources Should Have Location'
# skipTests: 'VM Images Should Use Latest Version,Resources Should Have Location'
# mainTemplates: 'template1.json, template2.json'
allTemplatesMain: true
cliOutputResults: true
- task: PublishTestResults@2
displayName: Publish Test Results
inputs:
testResultsFormat: 'NUnit'
testResultsFiles: '$(System.DefaultWorkingDirectory)\Results\*-armttk.xml'
condition: always()