zulip/zerver/webhooks/sonarqube/fixtures/error.json

47 lines
1.2 KiB
JSON
Raw Normal View History

{
"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"
},
"branch": {
"name": "master",
"type": "BRANCH",
"isMain": true,
"url": "http://localhost:9000/dashboard?id=test-sonar"
},
"qualityGate": {
"name": "Sonar way",
"status": "ERROR",
"conditions": [
{
"metric": "maintainability_rating",
"operator": "GREATER_THAN",
"value": "1",
"status": "OK",
"errorThreshold": "1"
},
{
"metric": "coverage",
"operator": "LESS_THAN",
"value": "0.0",
"status": "ERROR",
"errorThreshold": "80"
},
{
"metric": "duplicated_lines_density",
"operator": "GREATER_THAN",
"value": "89.39828080229226",
"status": "ERROR",
"errorThreshold": "3"
}
]
},
"properties": {}
}