def schedule(c): force_sched = s_force( name="force-build-" + PROJECT_NAME, cb=FORCE_CODEBASE, builders=[PROJECT_NAME], properties=[ util.NestedParameter(name="options", label="Build Options", layout="vertical", fields=[ util.StringParameter(name="force_feature", label="feature-branch to build:", default="", size=80), util.BooleanParameter(name="force_build_clean", label="force a make clean", default=False), util.BooleanParameter(name="force_complete_rebuild", label="force complete rebuild and fresh git clone", default=False), ]) ] ) c['schedulers'].extend([ s_abranch(PROJECT_NAME + '-sched', CODEBASE, [PROJECT_NAME], change_filter=util.ChangeFilter(branch_fn=trigger_branch_match), treeStableTimer=5 * 60), force_sched, s_trigger('trigger-' + PROJECT_NAME, CODEBASE, [PROJECT_NAME]), ]) # yapf: enable register(sys.modules[__name__])
factory=f)) def schedule(c): force_sched = s_force( name="force-build-" + PROJECT_NAME, cb=FORCE_CODEBASE, builders=[PROJECT_NAME], properties=[ util.NestedParameter(name="options", label="Build Options", layout="vertical", fields=[ util.StringParameter(name="force_feature", label="feature-branch to build:", default="", size=80), util.BooleanParameter(name="force_build_clean", label="force a make clean", default=False), util.BooleanParameter(name="force_complete_rebuild", label="force complete rebuild and fresh git clone", default=False), ]) ] ) c['schedulers'].extend([ s_abranch(PROJECT_NAME + '-sched', CODEBASE, [PROJECT_NAME], change_filter=util.ChangeFilter(branch_fn=trigger_branch_match), treeStableTimer=5 * 60), force_sched, s_trigger('trigger-' + PROJECT_NAME, CODEBASE, [PROJECT_NAME]), ]) # yapf: enable register(sys.modules[__name__])