Fix webhooks
[GitLab/stricted-build/lineage_builder.git] / tests / pipeline_start.json
1 {
2 "object_kind": "pipeline",
3 "object_attributes": {
4 "id": 34618162,
5 "ref": "master",
6 "tag": false,
7 "sha": "e36217f9fbf04f7ac7024a7909332c0e0e2c1599",
8 "before_sha": "0000000000000000000000000000000000000000",
9 "status": "running",
10 "detailed_status": "running",
11 "stages": [
12 "build",
13 "sign"
14 ],
15 "created_at": "2018-10-29 00:01:33 UTC",
16 "finished_at": "2018-10-29 00:04:42 UTC",
17 "duration": 81,
18 "variables": [
19 {
20 "key": "DEVICE",
21 "value": "FAKE_TEST"
22 },
23 {
24 "key": "TYPE",
25 "value": "userdebug"
26 },
27 {
28 "key": "VERSION",
29 "value": "lineage-15.1"
30 }
31 ]
32 },
33 "user": {
34 "name": "Tom Powell",
35 "username": "zifnab06",
36 "avatar_url": "https://secure.gravatar.com/avatar/40b74a6668897c1bbc7849defa0559ce?s=80&d=identicon"
37 },
38 "project": {
39 "id": 9081391,
40 "name": "android",
41 "description": "",
42 "web_url": "https://gitlab.com/LineageOS/builder/android",
43 "avatar_url": null,
44 "git_ssh_url": "git@gitlab.com:LineageOS/builder/android.git",
45 "git_http_url": "https://gitlab.com/LineageOS/builder/android.git",
46 "namespace": "LineageOS Builder",
47 "visibility_level": 20,
48 "path_with_namespace": "LineageOS/builder/android",
49 "default_branch": "master",
50 "ci_config_path": ""
51 },
52 "commit": {
53 "id": "e36217f9fbf04f7ac7024a7909332c0e0e2c1599",
54 "message": "sleep is for the weak\\n",
55 "timestamp": "2018-10-27T07:26:39Z",
56 "url": "https://gitlab.com/LineageOS/builder/android/commit/e36217f9fbf04f7ac7024a7909332c0e0e2c1599",
57 "author": {
58 "name": "Tom Powell",
59 "email": "tom@powell.io"
60 }
61 },
62 "builds": [
63 {
64 "id": 113643062,
65 "stage": "build",
66 "name": "build",
67 "status": "pending",
68 "created_at": "2018-10-29 00:11:14 UTC",
69 "started_at": null,
70 "finished_at": null,
71 "when": "on_success",
72 "manual": false,
73 "user": {
74 "name": "Tom Powell",
75 "username": "zifnab06",
76 "avatar_url": "https://secure.gravatar.com/avatar/40b74a6668897c1bbc7849defa0559ce?s=80&d=identicon"
77 },
78 "runner": null,
79 "artifacts_file": {
80 "filename": null,
81 "size": 0
82 }
83 },
84 {
85 "id": 113642275,
86 "stage": "build",
87 "name": "build",
88 "status": "success",
89 "created_at": "2018-10-29 00:03:41 UTC",
90 "started_at": "2018-10-29 00:03:41 UTC",
91 "finished_at": "2018-10-29 00:04:42 UTC",
92 "when": "on_success",
93 "manual": false,
94 "user": {
95 "name": "Tom Powell",
96 "username": "zifnab06",
97 "avatar_url": "https://secure.gravatar.com/avatar/40b74a6668897c1bbc7849defa0559ce?s=80&d=identicon"
98 },
99 "runner": {
100 "id": 530365,
101 "description": "phenom-test",
102 "active": true,
103 "is_shared": false
104 },
105 "artifacts_file": {
106 "filename": null,
107 "size": 1075
108 }
109 },
110 {
111 "id": 113642098,
112 "stage": "build",
113 "name": "build",
114 "status": "success",
115 "created_at": "2018-10-29 00:01:33 UTC",
116 "started_at": "2018-10-29 00:01:33 UTC",
117 "finished_at": "2018-10-29 00:02:35 UTC",
118 "when": "on_success",
119 "manual": false,
120 "user": {
121 "name": "Tom Powell",
122 "username": "zifnab06",
123 "avatar_url": "https://secure.gravatar.com/avatar/40b74a6668897c1bbc7849defa0559ce?s=80&d=identicon"
124 },
125 "runner": {
126 "id": 530365,
127 "description": "phenom-test",
128 "active": true,
129 "is_shared": false
130 },
131 "artifacts_file": {
132 "filename": null,
133 "size": 1075
134 }
135 },
136 {
137 "id": 113642099,
138 "stage": "sign",
139 "name": "sign",
140 "status": "success",
141 "created_at": "2018-10-29 00:01:33 UTC",
142 "started_at": "2018-10-29 00:02:35 UTC",
143 "finished_at": "2018-10-29 00:02:55 UTC",
144 "when": "on_success",
145 "manual": false,
146 "user": {
147 "name": "Tom Powell",
148 "username": "zifnab06",
149 "avatar_url": "https://secure.gravatar.com/avatar/40b74a6668897c1bbc7849defa0559ce?s=80&d=identicon"
150 },
151 "runner": {
152 "id": 380987,
153 "description": "shared-runners-manager-6.gitlab.com",
154 "active": true,
155 "is_shared": true
156 },
157 "artifacts_file": {
158 "filename": null,
159 "size": 1345
160 }
161 }
162 ]
163 }