Skip to content

Commit

Permalink
When doing release, force a full build of the docs; closes #383
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
  • Loading branch information
ibell committed Jan 1, 2015
1 parent eac8f58 commit d7ef794
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev/buildbot/master/master.cfg
Expand Up @@ -230,7 +230,7 @@ def docActivateCmd():

@properties.renderer
def fullBuildCommand(props):
return ' '.join([docActivateCmd(), "python", "__init__.py", str(props.getProperty('fullBuild', default = False))])
return ' '.join([docActivateCmd(), "python", "__init__.py", str(props.getProperty('fullBuild', default = False) || 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.
Expand Down Expand Up @@ -1140,7 +1140,8 @@ c['schedulers'].append(ForceScheduler(
name="force",
builderNames=all_builder_names,
properties=[
BooleanParameter(name="fullclean", label="Do a full clean", default=False)
BooleanParameter(name="fullclean", label="Do a full clean", default=False),
BooleanParameter(name="fullBuild", label="Do a full build of all the expensive docs", default=False)
]
))
c['schedulers'].append(ForceScheduler(
Expand Down

0 comments on commit d7ef794

Please sign in to comment.