Skip to content

Commit

Permalink
Update policheck.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
dluc committed Aug 15, 2024
1 parent 75083aa commit 66d371f
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/policheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,19 @@ stages:
termTypeT: 0029a9
toolVersion: Latest
optionsPE: '1|2|3|4'
# optionsUEPATH: '$(Build.SourcesDirectory)/.github/policheck-exclusions.xml'
# optionsRulesDBPath: '$(Build.SourcesDirectory)/.github/policheck-exclusions.mdb'
# optionsUEPATH: '$(Build.SourcesDirectory)\.github\policheck-exclusions.xml'
# optionsRulesDBPath: '$(Build.SourcesDirectory)\.github\policheck-exclusions.mdb'
- task: PostAnalysis@2
displayName: 'Policheck Break Build'
inputs:
GdnBreakAllTools: false
GdnBreakGdnToolPoliCheck: true
GdnBreakGdnToolPoliCheckSeverity: Warning

- task: PublishPipelineArtifact@1
- task: PublishSecurityAnalysisLogs@3
displayName: 'Save PoliCheck logs'
inputs:
targetPath: '$(Pipeline.Workspace)/policheck'
artifact: '$(artifactName)'
publishLocation: 'pipeline'
ArtifactName: 'CodeAnalysisLogs'
ArtifactType: 'Container'
PublishProcessedResults: true
AllTools: true

0 comments on commit 66d371f

Please sign in to comment.