From 66d371f4f77d113868985b27300a477b731b829d Mon Sep 17 00:00:00 2001 From: Devis Lucato Date: Wed, 14 Aug 2024 18:48:24 -0700 Subject: [PATCH] Update policheck.yml for Azure Pipelines --- .github/policheck.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/policheck.yml b/.github/policheck.yml index e4341f78..fc0c4dbd 100644 --- a/.github/policheck.yml +++ b/.github/policheck.yml @@ -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