Stop build on update and package failures

This commit is contained in:
2019-09-03 17:46:32 +02:00
parent 21828fb997
commit d49aacbeae

View File

@@ -182,7 +182,8 @@ def rsync_step(python_command, id, branch, rsync_script):
command=[python_command, rsync_script, id, branch],
description='uploading',
descriptionDone='uploaded',
workdir='install')
workdir='install',
haltOnFailure=True)
# generic builder
@@ -210,7 +211,8 @@ def generic_builder(id, branch='', rsync=False):
name='submodules and libraries update',
command=[python_command, update_script, id, git_branch],
description='updating',
descriptionDone='updated'))
descriptionDone='updated',
haltOnFailure=True))
f.addStep(Compile(
command=[python_command, compile_script, id, git_branch],
@@ -221,7 +223,8 @@ def generic_builder(id, branch='', rsync=False):
name='package',
command=[python_command, pack_script, id, git_branch],
description='packaging',
descriptionDone='packaged'))
descriptionDone='packaged',
haltOnFailure=True))
if rsync:
f.addStep(rsync_step(python_command, id, git_branch, rsync_script))