Skip to content

Commit d243db7

Browse files
authored
Add policheck to azure pipeline (microsoft#1371)
* Add policheck to azure pipeline * policheck only runs on windows * try without exclusions arg
1 parent 8a66a06 commit d243db7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

azure-pipelines.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Starter pipeline
2+
# Start with a minimal pipeline that you can customize to build and deploy your code.
3+
# Add steps that build, run tests, deploy, and more:
4+
# https://aka.ms/yaml
5+
6+
trigger:
7+
- main
8+
9+
pool:
10+
vmImage: 'windows-latest'
11+
12+
steps:
13+
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@2
14+
displayName: 'Run PoliCheck'
15+
inputs:
16+
targetType: F
17+
optionsPE: '1|2|3|4'
18+
19+
- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
20+
displayName: 'Policheck Break Build'
21+
inputs:
22+
GdnBreakAllTools: false
23+
GdnBreakGdnToolPoliCheck: true
24+
GdnBreakGdnToolPoliCheckSeverity: Warning

0 commit comments

Comments
 (0)