When doing release, full clean for all builders; closes #385

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2015-01-01 17:06:54 -05:00
parent d7ef79431c
commit f28e2be4fa

View File

@@ -200,7 +200,7 @@ class PythonSlaveConfig(object):
@properties.renderer
def gitModeInput(props):
""" If we are doing a full clean, this will tell it to clobber all the files """
if props.getProperty('fullclean', default = False):
if props.getProperty('fullclean', default = False) or props.getProperty('branch') == 'release':
return 'full'
else:
return 'incremental'
@@ -230,7 +230,7 @@ def docActivateCmd():
@properties.renderer
def fullBuildCommand(props):
return ' '.join([docActivateCmd(), "python", "__init__.py", str(props.getProperty('fullBuild', default = False) || props.getProperty('branch') == 'release')])
return ' '.join([docActivateCmd(), "python", "__init__.py", str(props.getProperty('fullBuild', default = False) or props.getProperty('branch') == 'release')])
# All what is needed to create the website, it makes sense to run the
# nightly builds on the same machine. This avoids extra data transfer.