Merge "Fix options.update is not 'all' if no config"
This commit is contained in:
commit
23af427cf7
|
@ -94,8 +94,9 @@ class JenkinsJobs(object):
|
||||||
|
|
||||||
# Note: CLI options override config file options.
|
# Note: CLI options override config file options.
|
||||||
if getattr(self.options, 'update', None) is None:
|
if getattr(self.options, 'update', None) is None:
|
||||||
self.options.update = str(self.jjb_config.builder.get('update',
|
self.options.update = self.jjb_config.builder.get('update')
|
||||||
'all'))
|
if self.options.update is None:
|
||||||
|
self.options.update = 'all'
|
||||||
|
|
||||||
if getattr(self.options, 'plugins_info_path', None) is not None:
|
if getattr(self.options, 'plugins_info_path', None) is not None:
|
||||||
with io.open(self.options.plugins_info_path, 'r',
|
with io.open(self.options.plugins_info_path, 'r',
|
||||||
|
|
Loading…
Reference in New Issue