Browse Source

Use GERRIT_CHANGES.

Change-Id: I93a642bc850bc06cf053ad7d3a529d698cc68527
changes/11/7911/2
James E. Blair 10 years ago
parent
commit
816e7e2446
  1. 7
      zuul/launcher/jenkins.py

7
zuul/launcher/jenkins.py

@ -137,14 +137,13 @@ class Jenkins(object):
self.log.info("Launch job %s for change %s with dependent changes %s" % (
job, change, dependent_changes))
uuid = str(uuid1())
dependent_changes_str = '^'.join(
changes_str = '^'.join(
['%s:%s:%s' % (c.project.name, c.branch, c.refspec)
for c in dependent_changes])
for c in dependent_changes+[change]])
params = dict(UUID=uuid,
GERRIT_PROJECT=change.project.name,
GERRIT_BRANCH=change.branch,
GERRIT_REFSPEC=change.refspec,
DEPENDENT_CHANGES=dependent_changes_str)
GERRIT_CHANGES=changes_str)
build = Build(job, uuid)
self.builds[uuid] = build
# We can get the started notification on another thread before this is done

Loading…
Cancel
Save