Merge "Add implied branch matchers on 'master'" into feature/zuulv3

This commit is contained in:
Zuul
2017-10-27 19:30:36 +00:00
committed by Gerrit Code Review
5 changed files with 62 additions and 64 deletions

View File

@@ -51,7 +51,7 @@ class GitConnection(BaseConnection):
def getProjectBranches(self, project, tenant):
# TODO(jeblair): implement; this will need to handle local or
# remote git urls.
raise NotImplemented()
return ['master']
def getGitUrl(self, project):
url = '%s/%s' % (self.baseurl, project.name)