Update pipeline webhook example response

In the example response we have builds with status `success` but the
property `runner` is null, which is not a realistic representation of
the response. The runner is always sent if the build has ran.

closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53121
上级 b4852ab4
...@@ -1041,7 +1041,12 @@ X-Gitlab-Event: Pipeline Hook ...@@ -1041,7 +1041,12 @@ X-Gitlab-Event: Pipeline Hook
"username": "root", "username": "root",
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon" "avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
}, },
"runner": null, "runner": {
"id":380987,
"description":"shared-runners-manager-6.gitlab.com",
"active":true,
"is_shared":true
},
"artifacts_file":{ "artifacts_file":{
"filename": null, "filename": null,
"size": null "size": null
...@@ -1062,7 +1067,12 @@ X-Gitlab-Event: Pipeline Hook ...@@ -1062,7 +1067,12 @@ X-Gitlab-Event: Pipeline Hook
"username": "root", "username": "root",
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon" "avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
}, },
"runner": null, "runner": {
"id":380987,
"description":"shared-runners-manager-6.gitlab.com",
"active":true,
"is_shared":true
},
"artifacts_file":{ "artifacts_file":{
"filename": null, "filename": null,
"size": null "size": null
...@@ -1083,7 +1093,12 @@ X-Gitlab-Event: Pipeline Hook ...@@ -1083,7 +1093,12 @@ X-Gitlab-Event: Pipeline Hook
"username": "root", "username": "root",
"avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon" "avatar_url": "http://www.gravatar.com/avatar/e32bd13e2add097461cb96824b7a829c?s=80\u0026d=identicon"
}, },
"runner": null, "runner": {
"id":380987,
"description":"shared-runners-manager-6.gitlab.com",
"active":true,
"is_shared":true
},
"artifacts_file":{ "artifacts_file":{
"filename": null, "filename": null,
"size": null "size": null
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册