fixed join issue #7

Merged
PeterSurda merged 1 commits from cis-muzahid/buildbot_multibuild:kivy-test into master 2022-02-11 11:40:54 +01:00
Showing only changes of commit a337147f43 - Show all commits

View File

@ -171,8 +171,8 @@ def add_child_build_sh_step(build_factory, directory=".buildbot"):
""" """
build_factory.addStep( build_factory.addStep(
steps.ShellCommand( steps.ShellCommand(
name="build_" + util.Interpolate("%(prop:jobname)s"), name=util.Interpolate("build_%(prop:jobname)s"),
command=["bash", "-c", join(directory, util.Interpolate("%(prop:jobname)s"), "build.sh")], command=util.Interpolate("%(kw:directory)s/%(prop:jobname)s/test.sh", directory=directory),
doStepIf=is_build_script_available, doStepIf=is_build_script_available,
hideStepIf=isnt_build_script_available, hideStepIf=isnt_build_script_available,
) )
@ -185,8 +185,8 @@ def add_child_test_sh_step(build_factory, directory=".buildbot"):
""" """
build_factory.addStep( build_factory.addStep(
steps.ShellCommand( steps.ShellCommand(
name="test_" + util.Interpolate("%(prop:jobname)s"), name= util.Interpolate("test_%(prop:jobname)s"),
command=["bash", "-c", join(directory, util.Interpolate("%(prop:jobname)s"), "test.sh")], command=util.Interpolate("%(kw:directory)s/%(prop:jobname)s/test.sh", directory=directory),
doStepIf=is_test_script_available, doStepIf=is_test_script_available,
hideStepIf=isnt_test_script_available, hideStepIf=isnt_test_script_available,
) )