Skip to content

Commit

Permalink
Add policheck to azure pipeline (#1371)
Browse files Browse the repository at this point in the history
* Add policheck to azure pipeline

* policheck only runs on windows

* try without exclusions arg
  • Loading branch information
cheng-tan authored Jan 23, 2024
1 parent 8a66a06 commit d243db7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- main

pool:
vmImage: 'windows-latest'

steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@2
displayName: 'Run PoliCheck'
inputs:
targetType: F
optionsPE: '1|2|3|4'

- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
displayName: 'Policheck Break Build'
inputs:
GdnBreakAllTools: false
GdnBreakGdnToolPoliCheck: true
GdnBreakGdnToolPoliCheckSeverity: Warning

0 comments on commit d243db7

Please sign in to comment.