Stop build on update and package failures
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 3 Sep 2019 15:46:32 +0000 (17:46 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 3 Sep 2019 15:46:32 +0000 (17:46 +0200)
master.cfg

index d0acb972d5505f3a230f17881a45f6d3701eede2..06d07c40e75942eeab8191fbcb3ca1014e900cb1 100644 (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))