Commit 9df03376 authored by Matthew Shaylor's avatar Matthew Shaylor Committed by Greg Messner
Browse files

Add lastPipeline property to Commit class (#469)

parent 1bdc9168
...@@ -25,6 +25,7 @@ public class Commit { ...@@ -25,6 +25,7 @@ public class Commit {
private Date timestamp; private Date timestamp;
private String title; private String title;
private String url; private String url;
private Pipeline lastPipeline;
public Author getAuthor() { public Author getAuthor() {
return author; return author;
...@@ -162,6 +163,9 @@ public class Commit { ...@@ -162,6 +163,9 @@ public class Commit {
this.url = url; this.url = url;
} }
public Pipeline getLastPipeline() { return lastPipeline; }
public void setLastPipeline(Pipeline lastPipeline) { this.lastPipeline = lastPipeline; }
public Commit withAuthor(Author author) { public Commit withAuthor(Author author) {
this.author = author; this.author = author;
......
...@@ -85,8 +85,8 @@ public enum Setting { ...@@ -85,8 +85,8 @@ public enum Setting {
* Assets that match these domain(s) will NOT be proxied. Wildcards allowed. * Assets that match these domain(s) will NOT be proxied. Wildcards allowed.
* Your GitLab installation URL is automatically whitelisted. GitLab restart * Your GitLab installation URL is automatically whitelisted. GitLab restart
* is required to apply changes. * is required to apply changes.
* TODO according to documentation : string or array of strings => How to do this?
*/ */
//TODO according to documentation : string or array of strings => How to do this?
ASSET_PROXY_WHITELIST(String.class), ASSET_PROXY_WHITELIST(String.class),
/** /**
...@@ -314,7 +314,7 @@ public enum Setting { ...@@ -314,7 +314,7 @@ public enum Setting {
* (PREMIUM | SILVER) The url to use for connecting to Elasticsearch. * (PREMIUM | SILVER) The url to use for connecting to Elasticsearch.
* Use a comma-separated list to support cluster (e.g., http://localhost:9200, * Use a comma-separated list to support cluster (e.g., http://localhost:9200,
* http://localhost:9201"). If your Elasticsearch instance is password * http://localhost:9201"). If your Elasticsearch instance is password
* protected, pass the username:password in the URL (e.g., http://<username>:<password>@<elastic_host>:9200/). * protected, pass the username:password in the URL (e.g., http://username:password@elastic_host:9200/).
*/ */
ELASTICSEARCH_URL(String.class), ELASTICSEARCH_URL(String.class),
......
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