sonar-scanner-npm
sonar-scanner-npm copied to clipboard
Allow to react and catch error when sonar analyisis fails
Sonar analysis is part of our build pipeline. Sonar server may become unavailable at times, so I'd like to implement a retry mechanism (e.g., https://www.npmjs.com/package/retry). If the sonar analysis fails the process is killed and we cannot recover from this without complex (child-) process handling. Therefore, I'd like to propose to fail gracefully and provide an error object to the callback.
Let me know what you think.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities (and
0 Security Hotspots to review)
0 Code Smells
Hi @Floix, are you still interested in this? Maybe you can update your branch and consider a default callback that preserves the previous behavior. WDT?
Closing this as stale. Feel free to reopen if you want to try updating the PR and maintaining current functionality.