zuul job: write the enable_plugin lines last
Plugins must be the last items in the local.conf file otherwise the configuration set in the rest of the file is not applied to them (for example a different value of DEST.) Change-Id: Ia001badca179c3f3436d5ecd26b0755a3f3a3078
This commit is contained in:
parent
5488336545
commit
610927f425
@ -214,11 +214,14 @@ class LocalConf(object):
|
|||||||
self.base_dir = base_dir
|
self.base_dir = base_dir
|
||||||
self.projects = projects
|
self.projects = projects
|
||||||
self.project = project
|
self.project = project
|
||||||
if plugins:
|
|
||||||
self.handle_plugins(plugins)
|
|
||||||
if services or base_services:
|
if services or base_services:
|
||||||
self.handle_services(base_services, services or {})
|
self.handle_services(base_services, services or {})
|
||||||
self.handle_localrc(localrc)
|
self.handle_localrc(localrc)
|
||||||
|
# Plugins must be the last items in localrc, otherwise
|
||||||
|
# the configuration lines which follows them in the file are
|
||||||
|
# not applied to the plugins (for example, the value of DEST.)
|
||||||
|
if plugins:
|
||||||
|
self.handle_plugins(plugins)
|
||||||
if localconf:
|
if localconf:
|
||||||
self.handle_localconf(localconf)
|
self.handle_localconf(localconf)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user