diff options
Diffstat (limited to 'zuul/launcher/gearman.py')
-rw-r--r-- | zuul/launcher/gearman.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zuul/launcher/gearman.py b/zuul/launcher/gearman.py index 2580397bb..d165f06b8 100644 --- a/zuul/launcher/gearman.py +++ b/zuul/launcher/gearman.py @@ -155,6 +155,8 @@ class Gearman(object): self.sched = sched self.builds = {} self.meta_jobs = {} # A list of meta-jobs like stop or describe + self.zuul_server = config.get('zuul', 'zuul_url') + server = config.get('gearman', 'server') if config.has_option('gearman', 'port'): port = config.get('gearman', 'port') @@ -224,6 +226,7 @@ class Gearman(object): params = dict(ZUUL_UUID=uuid, ZUUL_PROJECT=item.change.project.name) params['ZUUL_PIPELINE'] = pipeline.name + params['ZUUL_URL'] = self.zuul_server if hasattr(item.change, 'refspec'): changes_str = '^'.join( ['%s:%s:%s' % (i.change.project.name, i.change.branch, |