Skip to content

Commit c1f0ea7

Browse files
committed
Add PostAnalysis task to break build on PoliCheck failures
1 parent 2a101f1 commit c1f0ea7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.Pipelines/template-pipeline-stages.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ stages:
170170
failTaskOnFailedTests: false
171171
testRunTitle: 'Cryptography ceiling check $(python.version)'
172172

173+
- task: PostAnalysis@2
174+
displayName: 'Guardian Break'
175+
inputs:
176+
GdnBreakFast: false
177+
GdnBreakAllTools: false
178+
GdnBreakGdnToolPoliCheck: true
179+
GdnBreakGdnToolPoliCheckSeverity: Error
180+
173181
# ══════════════════════════════════════════════════════════════════════════════
174182
# Stage 3 - E2ETests - runs only if unit tests pass. Fetches the MSID Lab
175183
# certificate from Key Vault.

0 commit comments

Comments
 (0)