Upload even if tests fail
- we still may want either the build artifact or a video of the tests even if tests fail
This commit is contained in:
parent
4bf6fb73b2
commit
514c584609
|
@ -56,7 +56,9 @@ def add_child_sh_steps(build_factory, directory=".buildbot"):
|
|||
build_factory.addStep(
|
||||
steps.ShellCommand(
|
||||
name=util.Interpolate("build_%(prop:jobname)s"),
|
||||
command=util.Interpolate("%(kw:directory)s/%(prop:jobname)s/build.sh", directory=directory),
|
||||
command=util.Interpolate("%(kw:directory)s/"
|
||||
"%(prop:jobname)s/build.sh",
|
||||
directory=directory),
|
||||
doStepIf=is_build_script_available,
|
||||
hideStepIf=isnt_build_script_available,
|
||||
)
|
||||
|
@ -65,7 +67,11 @@ def add_child_sh_steps(build_factory, directory=".buildbot"):
|
|||
build_factory.addStep(
|
||||
steps.ShellCommand(
|
||||
name=util.Interpolate("test_%(prop:jobname)s"),
|
||||
command=util.Interpolate("%(kw:directory)s/%(prop:jobname)s/test.sh", directory=directory),
|
||||
command=util.Interpolate("%(kw:directory)s/"
|
||||
"%(prop:jobname)s/test.sh",
|
||||
directory=directory),
|
||||
haltOnFailure=False,
|
||||
flunkOnFailure=True,
|
||||
doStepIf=is_test_script_available,
|
||||
hideStepIf=isnt_test_script_available,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user