Added more getHtmlUrl() methods

This commit is contained in:
Kohsuke Kawaguchi
2015-04-13 18:17:37 -07:00
parent aad20d0a03
commit b736e20a74
14 changed files with 93 additions and 8 deletions

View File

@@ -161,6 +161,10 @@ public class GHRepository extends GHObject {
return ssh_url;
}
public URL getHtmlUrl() {
return GitHub.parseURL(html_url);
}
/**
* Short repository name without the owner. For example 'jenkins' in case of http://github.com/jenkinsci/jenkins
*/