Skip to content

Commit

Permalink
{CI} Add policy check to Security Tools (Azure#5552)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzelin007 authored Nov 23, 2022
1 parent a485774 commit 3377e7b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,23 @@ jobs:
TSLint: false
ToolLogsNotFoundAction: 'Standard'

- job: PolicyCheck
displayName: "Policy Check"
pool:
name: 'pool-windows-2019'
steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@2
displayName: 'Run Policy Check'
inputs:
targetType: F
result: PoliCheckResult.xml
- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
displayName: 'Post Analysis'
inputs:
GdnBreakAllTools: false
GdnBreakGdnToolPoliCheck: true
GdnBreakGdnToolPoliCheckSeverity: Error

- job: CheckLicenseHeader
displayName: "Check License"
pool:
Expand Down

0 comments on commit 3377e7b

Please sign in to comment.