Support building arbitrary branches

This commit is contained in:
2019-08-30 18:11:29 +02:00
parent ea17163d35
commit 8349e52e4a
2 changed files with 3 additions and 6 deletions

View File

@@ -6,9 +6,6 @@
# List of the branches being built automatically overnight
NIGHT_SCHEDULE_BRANCHES = ["master"]
# List of the branches available for force build
FORCE_SCHEDULE_BRANCHES = ["master", "experimental-build"]
# Dictionary that the buildmaster pays attention to.
c = BuildmasterConfig = {}
@@ -75,9 +72,8 @@ def schedule_force_build(name):
builderNames=[name],
codebases=[forcesched.CodebaseParameter(
codebase="blender",
branch=forcesched.ChoiceStringParameter(
branch=forcesched.StringParameter(
name="branch",
choices=FORCE_SCHEDULE_BRANCHES,
default="master"),
# Do not hide revision, can be handy!
repository=forcesched.FixedParameter(