buildbot_multibuild/lib/renderers.py
Shashi bea032dc78
Some checks failed
buildbot/travis_bionic Build done.
Updated multibuild and renderers
2021-12-25 12:27:44 +05:30

25 lines
543 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("jobname", default="") != ""
@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("jobname", default="") != ""
@util.renderer
def isnt_test_script_available(props):
return not is_test_script_available(props)