Stop build on update and package failures
This commit is contained in:
@@ -182,7 +182,8 @@ def rsync_step(python_command, id, branch, rsync_script):
|
|||||||
command=[python_command, rsync_script, id, branch],
|
command=[python_command, rsync_script, id, branch],
|
||||||
description='uploading',
|
description='uploading',
|
||||||
descriptionDone='uploaded',
|
descriptionDone='uploaded',
|
||||||
workdir='install')
|
workdir='install',
|
||||||
|
haltOnFailure=True)
|
||||||
|
|
||||||
|
|
||||||
# generic builder
|
# generic builder
|
||||||
@@ -210,7 +211,8 @@ def generic_builder(id, branch='', rsync=False):
|
|||||||
name='submodules and libraries update',
|
name='submodules and libraries update',
|
||||||
command=[python_command, update_script, id, git_branch],
|
command=[python_command, update_script, id, git_branch],
|
||||||
description='updating',
|
description='updating',
|
||||||
descriptionDone='updated'))
|
descriptionDone='updated',
|
||||||
|
haltOnFailure=True))
|
||||||
|
|
||||||
f.addStep(Compile(
|
f.addStep(Compile(
|
||||||
command=[python_command, compile_script, id, git_branch],
|
command=[python_command, compile_script, id, git_branch],
|
||||||
@@ -221,7 +223,8 @@ def generic_builder(id, branch='', rsync=False):
|
|||||||
name='package',
|
name='package',
|
||||||
command=[python_command, pack_script, id, git_branch],
|
command=[python_command, pack_script, id, git_branch],
|
||||||
description='packaging',
|
description='packaging',
|
||||||
descriptionDone='packaged'))
|
descriptionDone='packaged',
|
||||||
|
haltOnFailure=True))
|
||||||
|
|
||||||
if rsync:
|
if rsync:
|
||||||
f.addStep(rsync_step(python_command, id, git_branch, rsync_script))
|
f.addStep(rsync_step(python_command, id, git_branch, rsync_script))
|
||||||
|
Reference in New Issue
Block a user