parent
52aec8a8e6
commit
a337147f43
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user