Do not mark Jenkins unstable on audit transport failure

This commit is contained in:
2026-05-09 11:46:11 +02:00
parent 6caff50a84
commit b4dec87874

View File

@@ -50,9 +50,9 @@ def print_error(payload: dict) -> int:
if error:
print(f"AUDIT ERROR: {error}")
# If the audit couldn't run (eg transient salt/transport issues), do not
# block deployments. Mark as warn/unstable instead.
# block deployments.
if error == "audit_failed":
return 1
return 0
return 2
return 0