Exit Codes
CATS has the following exit codes:
0when execution completes successfully and the configured quality gate passes1when an internal execution error occurs or the configured--failOn/--qualityGatecondition fails2when command-line input is invalid130when an interactive TUI run is cancelled
info
The number of errors and warnings is still recorded in
cats-report/cats-summary-report.json, even when a quality gate changes the
process exit status:
jq '{errors, warnings, qualityGatePassed}' cats-report/cats-summary-report.json