Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: fail the pipeline if the sql review result doesn't succeed (#8849)

ecmadaocbbc42d6b3de
diff --git a/backend/plugin/vcs/azure/bytebase-sql-review.yml b/backend/plugin/vcs/azure/bytebase-sql-review.yml
index 5180c36ec6..ebd1a69000 100644
--- a/backend/plugin/vcs/azure/bytebase-sql-review.yml
+++ b/backend/plugin/vcs/azure/bytebase-sql-review.yml
@@ -50,5 +50,5 @@ jobs:
testResultsFiles: "**/bytebase-sql-review.xml"
displayName: Upload artifacts
- bash: |
- if [[ "$STATUS" == "ERROR" ]]; then exit 1; fi
+ if [[ "$STATUS" != "SUCCESS" ]]; then exit 1; fi
displayName: Check SQL Review Result