File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
main/java/org/gitlab4j/api/webhook
test/resources/org/gitlab4j/api Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 6
6
import org .gitlab4j .api .utils .JacksonJson ;
7
7
8
8
/**
9
- * The documentation at: <a href="https://docs.gitlab.com/ee/user/project/integrations/webhooks .html#job-events">
9
+ * The documentation at: <a href="https://docs.gitlab.com/ee/user/project/integrations/webhook_events .html#job-events">
10
10
* Job Events</a> is incorrect, this class represents the actual content of the Job Hook event.
11
11
*/
12
12
public class BuildEvent extends AbstractEvent {
@@ -28,6 +28,8 @@ public class BuildEvent extends AbstractEvent {
28
28
private Boolean buildAllowFailure ;
29
29
private String buildFailureReason ;
30
30
private Long projectId ;
31
+
32
+ private Long pipelineId ;
31
33
private String projectName ;
32
34
private User user ;
33
35
private BuildCommit commit ;
@@ -155,6 +157,14 @@ public void setProjectId(Long projectId) {
155
157
this .projectId = projectId ;
156
158
}
157
159
160
+ public Long getPipelineId () {
161
+ return pipelineId ;
162
+ }
163
+
164
+ public void setPipelineId (Long pipelineId ) {
165
+ this .pipelineId = pipelineId ;
166
+ }
167
+
158
168
public String getProjectName () {
159
169
return projectName ;
160
170
}
Original file line number Diff line number Diff line change 12
12
"build_duration" : 0.05880817 ,
13
13
"build_allow_failure" : false ,
14
14
"build_failure_reason" : " unknown_failure" ,
15
+ "pipeline_id" : 2366 ,
15
16
"project_id" : 3115610 ,
16
17
"project_name" : " GitLab4J / test-project" ,
17
18
"user" : {
You can’t perform that action at this time.
0 commit comments