25 lines
666 B
Python
25 lines
666 B
Python
from buildbot.plugins import util
|
|
import re
|
|
|
|
def _is_build_script_available(props):
|
|
return props.getProperty("build_script_available", default=False)
|
|
|
|
@util.renderer
|
|
def is_build_script_available(props):
|
|
return _is_build_script_available(props)
|
|
|
|
@util.renderer
|
|
def isnt_build_script_available(props):
|
|
return not _is_build_script_available(props)
|
|
|
|
def _is_test_script_available(props):
|
|
return props.getProperty("test_script_available", default=False)
|
|
|
|
@util.renderer
|
|
def is_test_script_available(props):
|
|
return _is_test_script_available(props)
|
|
|
|
@util.renderer
|
|
def isnt_test_script_available(props):
|
|
return not _is_test_script_available(props)
|