Describe the bug
Specific quality profiles and quality gate from CNES (RNC) are not available in SonarQube.
To reproduce
- Go to Quality profiles and check RNCs presence
Expected behavior
See quality Profile and Quality Gate
Screenshots & log
When launching container, error is
parse error: Invalid numeric literal at line 1, column 10
This is in https://github.com/cnescatlab/sonarqube/blob/6ba333a4e0870cb99a275bcc88154cc37a2ded45/scripts/functions.bash#L66 .
The server is not started, so the API doesn't work and the jq failed.
It's better to test the HTTP code return of curl. And if it's code 200, get the response to test the status.
Furthermore, It'll be better in CI during the check to verify quality profiles and quality gates with API.