Buildbot: Rename testbuild branch to experimental-build and put the builds to dedicated folder

This commit is contained in:
Bastien Montagne 2014-10-15 15:27:40 +06:00 committed by Campbell Barton
parent 3cd2625132
commit 6161627747
2 changed files with 6 additions and 1 deletions

View File

@ -113,7 +113,7 @@ def schedule_force_build(name):
codebases=[forcesched.CodebaseParameter(
codebase="blender",
branch=forcesched.ChoiceStringParameter(
name="branch", choices=["master", "testbuild"], default="master"),
name="branch", choices=["master", "experimental-build"], default="master"),
# Do not hide revision, can be handy!
repository=forcesched.FixedParameter(name="repository", default="", hide=True),
project=forcesched.FixedParameter(name="project", default="", hide=True)),

View File

@ -117,6 +117,11 @@ if platform == '':
# extract
directory = 'public_html/download'
if not branch or branch == 'master':
directory = 'public_html/download'
elif branch == 'experimental-build':
directory = 'public_html/experimental'
# else: put 'official' branches in their own public subdir of download/ ?
try:
zf = z.open(package)