]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-11950 complete example in doc page "Webhooks"
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 21 May 2019 19:12:32 +0000 (21:12 +0200)
committerSonarTech <sonartech@sonarsource.com>
Wed, 22 May 2019 18:21:20 +0000 (20:21 +0200)
server/sonar-docs/src/pages/project-administration/webhooks.md

index f547adc7a8bacf54901424abf326f7cbf116c257..64e9a4ef5e22d0025ddd28faf49259c5002fc277 100644 (file)
@@ -46,10 +46,15 @@ The Payload is a JSON document which includes:
 
 ```
 {
+    "serverUrl": "http://localhost:9000",
+    "taskId": "AVh21JS2JepAEhwQ-b3u",
+    "status": "SUCCESS",
     "analysedAt": "2016-11-18T10:46:28+0100",
+    "revision": "c739069ec7105e01303e8b3065a81141aad9f129",
     "project": {
-        "key": "org.sonarqube:example",
-        "name": "Example"
+        "key": "myproject",
+        "name": "My Project",
+        "url": "https://mycompany.com/sonarqube/dashboard?id=myproject"
     },
     "properties": {
     },
@@ -89,10 +94,7 @@ The Payload is a JSON document which includes:
         ],
         "name": "SonarQube way",
         "status": "OK"
-    },
-    "serverUrl": "http://localhost:9000",
-    "status": "SUCCESS",
-    "taskId": "AVh21JS2JepAEhwQ-b3u"
+    }
 }
 ```