File tree 3 files changed +5
-4
lines changed
danger-kotlin-library/src
main/kotlin/systems/danger/kotlin/models/gitlab
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ data class GitLabMergeRequest(
73
73
@SerialName(" merge_when_pipeline_succeeds" )
74
74
val mergeOnPipelineSuccess : Boolean ,
75
75
val milestone : GitLabMilestone ? = null ,
76
+ @SerialName(" head_pipeline" )
76
77
val pipeline : GitLabPipeline ,
77
78
@SerialName(" project_id" )
78
79
val projectId : String ,
Original file line number Diff line number Diff line change 113
113
"latest_build_started_at" : " 2021-04-30T14:35:00.103+02:00" ,
114
114
"latest_build_finished_at" : " 2019-04-11T00:33:22.492Z" ,
115
115
"first_deployed_to_production_at" : " 2019-04-11T00:30:22.492Z" ,
116
- "pipeline" : {
116
+ "pipeline" : null ,
117
+ "head_pipeline" : {
117
118
"id" : 50 ,
118
119
"sha" : " 621bc3348549e51c5bd6ea9f094913e9e4667c7b" ,
119
120
"ref" : " ef28580bb2a00d985bffe4a4ce3fe09fdb12283f" ,
120
121
"status" : " success" ,
121
122
"web_url" : " https://gitlab.com/danger-systems/danger.systems/pipeline/621bc3348549e51c5bd6ea9f094913e9e4667c7b"
122
123
},
123
- "head_pipeline" : null ,
124
124
"diff_refs" : {
125
125
"base_sha" : " ef28580bb2a00d985bffe4a4ce3fe09fdb12283f" ,
126
126
"head_sha" : " 621bc3348549e51c5bd6ea9f094913e9e4667c7b" ,
Original file line number Diff line number Diff line change 113
113
"latest_build_started_at" : " 2021-04-30T14:35:00.103+02:00" ,
114
114
"latest_build_finished_at" : " 2019-04-11T00:33:22.492Z" ,
115
115
"first_deployed_to_production_at" : " 2019-04-11T00:30:22.492Z" ,
116
- "pipeline" : {
116
+ "pipeline" : null ,
117
+ "head_pipeline" : {
117
118
"id" : 50 ,
118
119
"sha" : " 621bc3348549e51c5bd6ea9f094913e9e4667c7b" ,
119
120
"ref" : " ef28580bb2a00d985bffe4a4ce3fe09fdb12283f" ,
120
121
"status" : " canceled" ,
121
122
"web_url" : " https://gitlab.com/danger-systems/danger.systems/pipeline/621bc3348549e51c5bd6ea9f094913e9e4667c7b"
122
123
},
123
- "head_pipeline" : null ,
124
124
"diff_refs" : {
125
125
"base_sha" : " ef28580bb2a00d985bffe4a4ce3fe09fdb12283f" ,
126
126
"head_sha" : " 621bc3348549e51c5bd6ea9f094913e9e4667c7b" ,
You can’t perform that action at this time.
0 commit comments