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
This commit is contained in:
Antoine Musso 2014-04-16 12:52:16 +02:00
parent 08060a1037
commit 1d84f6ff54
1 changed files with 6 additions and 0 deletions

View File

@ -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'}},