mirror of https://github.com/zulip/zulip.git
59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
|
{
|
||
|
"serverUrl": "http://localhost:9000",
|
||
|
"taskId": "AXgTFfXRZCzhMRNj54bo",
|
||
|
"status": "SUCCESS",
|
||
|
"analysedAt": "2021-03-08T18:25:04+0000",
|
||
|
"changedAt": "2021-03-08T18:25:04+0000",
|
||
|
"project": {
|
||
|
"key": "test-sonar",
|
||
|
"name": "test-sonar",
|
||
|
"url": "http://localhost:9000/dashboard?id=test-sonar"
|
||
|
},
|
||
|
"qualityGate": {
|
||
|
"name": "Sonar way",
|
||
|
"status": "OK",
|
||
|
"conditions": [
|
||
|
{
|
||
|
"metric": "new_reliability_rating",
|
||
|
"operator": "GREATER_THAN",
|
||
|
"value": "1",
|
||
|
"status": "OK",
|
||
|
"errorThreshold": "1"
|
||
|
},
|
||
|
{
|
||
|
"metric": "new_security_rating",
|
||
|
"operator": "GREATER_THAN",
|
||
|
"value": "1",
|
||
|
"status": "OK",
|
||
|
"errorThreshold": "1"
|
||
|
},
|
||
|
{
|
||
|
"metric": "new_maintainability_rating",
|
||
|
"operator": "GREATER_THAN",
|
||
|
"value": "1",
|
||
|
"status": "OK",
|
||
|
"errorThreshold": "1"
|
||
|
},
|
||
|
{
|
||
|
"metric": "new_coverage",
|
||
|
"operator": "LESS_THAN",
|
||
|
"status": "NO_VALUE",
|
||
|
"errorThreshold": "80"
|
||
|
},
|
||
|
{
|
||
|
"metric": "new_duplicated_lines_density",
|
||
|
"operator": "GREATER_THAN",
|
||
|
"status": "NO_VALUE",
|
||
|
"errorThreshold": "3"
|
||
|
},
|
||
|
{
|
||
|
"metric": "new_security_hotspots_reviewed",
|
||
|
"operator": "LESS_THAN",
|
||
|
"status": "NO_VALUE",
|
||
|
"errorThreshold": "100"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"properties": {}
|
||
|
}
|