2021-12-23 09:01:52 +01:00
|
|
|
from buildbot.plugins import util
|
|
|
|
import re
|
|
|
|
|
|
|
|
|
|
|
|
@util.renderer
|
2021-12-25 07:57:44 +01:00
|
|
|
def is_build_script_available(props):
|
|
|
|
# Actual check will got here
|
|
|
|
return props.getProperty("jobname", default="") != ""
|
2021-12-23 09:01:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
@util.renderer
|
2021-12-25 07:57:44 +01:00
|
|
|
def isnt_build_script_available(props):
|
|
|
|
return not is_build_script_available(props)
|
2021-12-23 09:01:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
@util.renderer
|
2021-12-25 07:57:44 +01:00
|
|
|
def is_test_script_available(props):
|
2021-12-23 09:01:52 +01:00
|
|
|
# Actual check will got here
|
2021-12-25 07:57:44 +01:00
|
|
|
return props.getProperty("jobname", default="") != ""
|
|
|
|
|
2021-12-23 09:01:52 +01:00
|
|
|
|
|
|
|
@util.renderer
|
2021-12-25 07:57:44 +01:00
|
|
|
def isnt_test_script_available(props):
|
|
|
|
return not is_test_script_available(props)
|