forked from AErmie/DevSecOps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arm-ttk-pipeline.yml
30 lines (26 loc) · 1.01 KB
/
arm-ttk-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
trigger: 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)\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()