From cb6ade69196409f876d1ab97e68dd02ec37419f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 11 Jan 2015 02:13:12 +0100 Subject: [PATCH] Missing URL for bitbucket Repo --- plugin/remote/bitbucket/bitbucket.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/remote/bitbucket/bitbucket.go b/plugin/remote/bitbucket/bitbucket.go index d035889f0..410d1bb41 100644 --- a/plugin/remote/bitbucket/bitbucket.go +++ b/plugin/remote/bitbucket/bitbucket.go @@ -155,6 +155,7 @@ func (r *Bitbucket) GetRepos(user *model.User) ([]*model.Repo, error) { // these are the urls required to clone the repository // TODO use the bitbucketurl.Host and bitbucketurl.Scheme instead of hardcoding // so that we can support Stash. + var html = fmt.Sprintf("https://bitbucket.org/%s/%s", item.Owner, item.Name) var clone = fmt.Sprintf("https://bitbucket.org/%s/%s.git", item.Owner, item.Name) var ssh = fmt.Sprintf("git@bitbucket.org:%s/%s.git", item.Owner, item.Name) @@ -165,6 +166,7 @@ func (r *Bitbucket) GetRepos(user *model.User) ([]*model.Repo, error) { Owner: item.Owner, Name: item.Name, Private: item.Private, + URL: html, CloneURL: clone, GitURL: clone, SSHURL: ssh,