Unverified Commit 4841eceb authored by Ralph Weires's avatar Ralph Weires Committed by GitHub
Browse files

Add name attribute to Pipeline class (#1048)

parent 76468762
......@@ -28,6 +28,7 @@ public class Pipeline {
private Float queuedDuration;
private String webUrl;
private DetailedStatus detailedStatus;
private String name;
public Long getId() {
return id;
......@@ -277,6 +278,14 @@ public class Pipeline {
this.detailedStatus = detailedStatus;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
......
......@@ -32,5 +32,6 @@
"favicon": "/assets/ci_favicons/favicon_status_pending-5bdf338420e5221ca24353b6bff1c9367189588750632e9a871b7af09ff6a2ae.png"
},
"coverage": "30.0",
"web_url": "https://example.com/foo/bar/pipelines/46"
"web_url": "https://example.com/foo/bar/pipelines/46",
"name": "Custom pipeline name"
}
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