Skip to content

Commit

Permalink
Add Warning Quality Check Build Task 🔨 (#3067)
Browse files Browse the repository at this point in the history
* add warning policy

* fix indenting
  • Loading branch information
kellyyangsong authored Dec 20, 2024
1 parent 487e928 commit c75a8f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/template-Build-run-tests-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

0 comments on commit c75a8f2

Please sign in to comment.