49b575afb6
- Move each trigger handler into its own file - Add dictionary helper classes for easier reading and writing of dict-based data - Extract the web hook payload -> internal representation building for each trigger system - Add tests for this transformation - Remove support for Github archived-based building
54 lines
No EOL
2 KiB
JSON
54 lines
No EOL
2 KiB
JSON
{
|
|
"object_kind": "push",
|
|
"before": "11fcaca195e8b17ca7e3dc47d9608d5b6b892f45",
|
|
"after": "fb88379ee45de28a0a4590fddcbd8eff8b36026e",
|
|
"ref": "refs/heads/master",
|
|
"checkout_sha": "fb88379ee45de28a0a4590fddcbd8eff8b36026e",
|
|
"message": null,
|
|
"user_id": 95973,
|
|
"user_name": "Jimmy Zelinskie",
|
|
"user_email": "jimmyzelinskie@gmail.com",
|
|
"project_id": 406414,
|
|
"repository": {
|
|
"name": "www-gitlab-com",
|
|
"url": "git@gitlab.com:jzelinskie/www-gitlab-com.git",
|
|
"description": "",
|
|
"homepage": "https://gitlab.com/jzelinskie/www-gitlab-com",
|
|
"git_http_url": "https://gitlab.com/jzelinskie/www-gitlab-com.git",
|
|
"git_ssh_url": "git@gitlab.com:jzelinskie/www-gitlab-com.git",
|
|
"visibility_level": 20
|
|
},
|
|
"commits": [
|
|
{
|
|
"id": "fb88379ee45de28a0a4590fddcbd8eff8b36026e",
|
|
"message": "Fix link\n",
|
|
"timestamp": "2015-08-13T19:33:18+00:00",
|
|
"url": "https://gitlab.com/jzelinskie/www-gitlab-com/commit/fb88379ee45de28a0a4590fddcbd8eff8b36026e",
|
|
"author": {
|
|
"name": "Sytse Sijbrandij",
|
|
"email": "sytse@gitlab.com"
|
|
}
|
|
},
|
|
{
|
|
"id": "4ca166bc0b511f21fa331873f260f1a7cb38d723",
|
|
"message": "Merge branch 'git-lfs' into 'master'\n\nGit lfs\n\n@JobV @dzaporozhets @DouweM please review the tone of this\n\nSee merge request !899\n",
|
|
"timestamp": "2015-08-13T15:52:15+00:00",
|
|
"url": "https://gitlab.com/jzelinskie/www-gitlab-com/commit/4ca166bc0b511f21fa331873f260f1a7cb38d723",
|
|
"author": {
|
|
"name": "Sytse Sijbrandij",
|
|
"email": "sytse@gitlab.com"
|
|
}
|
|
},
|
|
{
|
|
"id": "11fcaca195e8b17ca7e3dc47d9608d5b6b892f45",
|
|
"message": "Merge branch 'release-7-3-5' into 'master'\n\n7-13-5 Release post.\n\nSee merge request !900\n",
|
|
"timestamp": "2015-08-13T09:31:47+00:00",
|
|
"url": "https://gitlab.com/jzelinskie/www-gitlab-com/commit/11fcaca195e8b17ca7e3dc47d9608d5b6b892f45",
|
|
"author": {
|
|
"name": "Valery Sizov",
|
|
"email": "valery@gitlab.com"
|
|
}
|
|
}
|
|
],
|
|
"total_commits_count": 3
|
|
} |