forked from Bitmessage/buildbot_multibuild
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
552 B
Python
25 lines
552 B
Python
from buildbot.plugins import util
|
|
import re
|
|
|
|
|
|
@util.renderer
|
|
def is_build_script_available(props):
|
|
# Actual check will got here
|
|
return props.getProperty("build_available", default=False)
|
|
|
|
|
|
@util.renderer
|
|
def isnt_build_script_available(props):
|
|
return not is_build_script_available(props)
|
|
|
|
|
|
@util.renderer
|
|
def is_test_script_available(props):
|
|
# Actual check will got here
|
|
return props.getProperty("test_available", default=False)
|
|
|
|
|
|
@util.renderer
|
|
def isnt_test_script_available(props):
|
|
return not is_test_script_available(props)
|