From 1d84f6ff545dfd6f4e9e122e26e0d50dfd8537ff Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 16 Apr 2014 12:52:16 +0200 Subject: [PATCH] Zuul parameter ZUUL_URL Zuul 2.0 passes to jobs an additional parameter ZUUL_URL which instructs workers from where to clone repositories. This is NOT the same as the zuul-url defined by Jenkins Job Builder which is the notification endpoint set on the jobs and is unrelated. Change-Id: I4924a5b7ae99571efd70eeb188ddd3d821a4c61b --- jenkins_jobs/modules/zuul.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jenkins_jobs/modules/zuul.py b/jenkins_jobs/modules/zuul.py index 602087d0f..71b782a2f 100644 --- a/jenkins_jobs/modules/zuul.py +++ b/jenkins_jobs/modules/zuul.py @@ -61,6 +61,9 @@ ZUUL_PARAMETERS = [ {'string': {'description': 'Zuul pipeline triggering this job', 'name': 'ZUUL_PIPELINE'}}, + {'string': + {'description': 'URL of Zuul\'s git repos accessible to workers', + 'name': 'ZUUL_URL'}}, {'string': {'description': 'Branch name of triggering project', 'name': 'ZUUL_PROJECT'}}, @@ -98,6 +101,9 @@ ZUUL_POST_PARAMETERS = [ {'string': {'description': 'Zuul pipeline triggering this job', 'name': 'ZUUL_PIPELINE'}}, + {'string': + {'description': 'URL of Zuul\'s git repos accessible to workers', + 'name': 'ZUUL_URL'}}, {'string': {'description': 'Branch name of triggering project', 'name': 'ZUUL_PROJECT'}},