diff options
Diffstat (limited to 'server/sonar-web/src/test/json/quality-gates-spec/show.json')
-rw-r--r-- | server/sonar-web/src/test/json/quality-gates-spec/show.json | 118 |
1 files changed, 53 insertions, 65 deletions
diff --git a/server/sonar-web/src/test/json/quality-gates-spec/show.json b/server/sonar-web/src/test/json/quality-gates-spec/show.json index bc36acb897e..7125875b1b3 100644 --- a/server/sonar-web/src/test/json/quality-gates-spec/show.json +++ b/server/sonar-web/src/test/json/quality-gates-spec/show.json @@ -1,70 +1,58 @@ { "id": 1, - "name": "Default Gate", + "name": "SonarQube way", "conditions": [ - { - "id": 1, - "metric": "blocker_violations", - "op": "GT", - "warning": "", - "error": "0" - }, - { - "id": 2, - "metric": "new_coverage", - "op": "LT", - "warning": "", - "error": "80", - "period": 3 - }, - { - "id": 3, - "metric": "critical_violations", - "op": "GT", - "warning": "", - "error": "0" - }, - { - "id": 4, - "metric": "sqale_effort_to_grade_a", - "op": "GT", - "warning": "", - "error": "0" - }, - { - "id": 5, - "metric": "open_issues", - "op": "GT", - "warning": "0", - "error": "" - }, - { - "id": 6, - "metric": "reopened_issues", - "op": "GT", - "warning": "0", - "error": "" - }, - { - "id": 7, - "metric": "skipped_tests", - "op": "GT", - "warning": "0", - "error": "" - }, - { - "id": 8, - "metric": "test_errors", - "op": "GT", - "warning": "", - "error": "0" - }, - { - "id": 9, - "metric": "test_failures", - "op": "GT", - "warning": "", - "error": "0" - } + { + "id": 1, + "metric": "blocker_violations", + "op": "GT", + "warning": "", + "error": "0" + }, + { + "id": 3, + "metric": "test_errors", + "op": "GT", + "error": "0" + }, + { + "id": 4, + "metric": "test_failures", + "op": "GT", + "error": "0" + }, + { + "id": 5, + "metric": "new_coverage", + "op": "LT", + "warning": "", + "error": "80", + "period": 3 + }, + { + "id": 6, + "metric": "open_issues", + "op": "GT", + "warning": "0" + }, + { + "id": 7, + "metric": "reopened_issues", + "op": "GT", + "warning": "0" + }, + { + "id": 8, + "metric": "skipped_tests", + "op": "GT", + "warning": "0" + }, + { + "id": 9, + "metric": "sqale_index", + "op": "LT", + "warning": "3360", + "error": "4020" + } ] } |