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
(cherry picked from commit 610927f425
)
This commit is contained in:
parent
03d90d452c
commit
b89e9d2111
|
@ -214,11 +214,14 @@ class LocalConf(object):
|
|||
self.base_dir = base_dir
|
||||
self.projects = projects
|
||||
self.project = project
|
||||
if plugins:
|
||||
self.handle_plugins(plugins)
|
||||
if services or base_services:
|
||||
self.handle_services(base_services, services or {})
|
||||
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:
|
||||
self.handle_localconf(localconf)
|
||||
|
||||
|
|
Loading…
Reference in New Issue