* feat(SQQGGHA-12): surface SonarQube error message on background task failure
Report the analysis error message when the background task status is not SUCCESS, instead of only failing at the quality gate lookup step.
* fix: surface CANCELED SonarQube task status with clear message
Co-authored-by: Amaury Wyart <285676107+amaurywyart-sq@users.noreply.github.com>
* fix: use octal ANSI escape codes for bash 3.2 compatibility
\e is not interpreted by echo -e on bash 3.2 (e.g. macOS/self-hosted
runners), which printed raw escape sequences instead of colored output.
\033 works on both bash 3.2 and modern bash.
---------
Co-authored-by: Gitar <noreply@gitar.ai>
Co-authored-by: Amaury Wyart <285676107+amaurywyart-sq@users.noreply.github.com>
The property timeout-minutes in a GitHub step is not supported in composed actions. So the workaround to stop the waiting for finishing the sonar scan is not working in such cases.
To fix this issue, a polling timeout variable was introduced, which stops the waiting if the timeout is reached.