Skip to content

SonarQube CNES 3.1.0 doesn't contain CNES quality profile and quality gate #44

@usinelogicielle

Description

@usinelogicielle

Describe the bug

Specific quality profiles and quality gate from CNES (RNC) are not available in SonarQube.

To reproduce

  1. 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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions