Commit f632f845 authored by Alan D. Cabrera's avatar Alan D. Cabrera Committed by Greg Messner
Browse files

Add source attribute to PipelineEvent.ObjectAttributes (#466)

parent 1fe0d6d7
......@@ -75,6 +75,7 @@ public class PipelineEvent extends AbstractEvent {
private Boolean tag;
private String sha;
private String beforeSha;
private String source;
private String status;
private List<String> stages;
private Date createdAt;
......@@ -122,6 +123,14 @@ public class PipelineEvent extends AbstractEvent {
this.beforeSha = beforeSha;
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
public String getStatus() {
return status;
}
......
......@@ -6,6 +6,7 @@
"tag": false,
"sha": "bcbb5ec396a2c0f828686f14fac9b80b780504f2",
"before_sha": "bcbb5ec396a2c0f828686f14fac9b80b780504f2",
"source": "merge_request_event",
"status": "success",
"stages":[
"build",
......@@ -154,4 +155,4 @@
}
}
]
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment