diff --git a/build/template-Build-run-tests-sign.yml b/build/template-Build-run-tests-sign.yml index f9e0b1d5e1..5679908a29 100644 --- a/build/template-Build-run-tests-sign.yml +++ b/build/template-Build-run-tests-sign.yml @@ -212,6 +212,13 @@ steps: PathtoPublish: '$(Build.SourcesDirectory)\artifacts' ArtifactName: '$(Build.BuildNumber)-nuget-package' + - task: BuildQualityChecks@9 + displayName: 'Check Warnings' + inputs: + checkWarnings: true + warningFailOption: 'build' + showStatistics: true + - task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3 displayName: 'Clean Agent Directories' condition: and(succeeded(), eq(variables['PipelineType'], 'legacy'))