Merge "Gitlab - allow to use the 'zuul enqueue' command"

This commit is contained in:
Zuul 2020-05-26 15:06:55 +00:00 committed by Gerrit Code Review
commit 1ce4ea3b92
1 changed files with 2 additions and 2 deletions

View File

@ -388,8 +388,8 @@ class GitlabConnection(BaseConnection):
change.number = number
# patchset is the tips commit of the PR
change.patchset = patchset
change.url = url
change.uris = list(url)
change.url = url or self.getPullUrl(project.name, number)
change.uris = [change.url.split('://', 1)[-1]] # remove scheme
self._change_cache[key] = change
try:
log.debug("Getting change mr#%s from project %s" % (