buildbot_multibuild/lib/renderers.py
Peter Šurda b020325a08
Some checks failed
buildbot/travis_bionic Build done.
Merge production changes
- bugfixes, code quality
2022-04-07 20:46:29 +08:00

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)