Merge "Gerrit: Add gerrit version check for HTTP review tag"
This commit is contained in:
commit
b00a4a5f11
|
@ -1128,7 +1128,8 @@ class GerritConnection(BaseConnection):
|
|||
data['robot_comments'] = file_comments
|
||||
else:
|
||||
data['comments'] = file_comments
|
||||
data['tag'] = 'autogenerated:zuul:%s' % (item.pipeline.name)
|
||||
if self.version >= (2, 13, 0):
|
||||
data['tag'] = 'autogenerated:zuul:%s' % (item.pipeline.name)
|
||||
changeid = "%s~%s~%s" % (
|
||||
urllib.parse.quote(str(change.project), safe=''),
|
||||
urllib.parse.quote(str(change.branch), safe=''),
|
||||
|
|
Loading…
Reference in New Issue