Bug 1463622 - errors running the partner repack script should be fatal, r=Callek, a=release DONTBUILD
authorNick Thomas <nthomas@mozilla.com>
Wed, 23 May 2018 13:03:58 +1200
changeset 463636 2b504eb4567d
parent 463635 2d587aff481e
child 463637 13fdf7dee914
push id1722
push usernthomas@mozilla.com
push date2018-05-23 02:34 +0000
treeherdermozilla-release@2b504eb4567d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek, release
bugs1463622
milestone60.0.2
Bug 1463622 - errors running the partner repack script should be fatal, r=Callek, a=release DONTBUILD MozReview-Commit-ID: BgTyPWfXVFj
testing/mozharness/scripts/desktop_partner_repacks.py
--- a/testing/mozharness/scripts/desktop_partner_repacks.py
+++ b/testing/mozharness/scripts/desktop_partner_repacks.py
@@ -158,16 +158,17 @@ class DesktopPartnerRepacks(ReleaseMixin
         if self.config.get('platform'):
             repack_cmd.extend(["--platform", self.config['platform']])
         if self.config.get('partner'):
             repack_cmd.extend(["--partner", self.config['partner']])
         if self.config.get('taskIds'):
             for taskId in self.config['taskIds']:
                 repack_cmd.extend(["--taskid", taskId])
 
-        return self.run_command(repack_cmd,
-                                cwd=self.query_abs_dirs()['abs_scripts_dir'])
+        self.run_command(repack_cmd,
+                         cwd=self.query_abs_dirs()['abs_scripts_dir'],
+                         halt_on_failure=True)
 
 
 # main {{{
 if __name__ == '__main__':
     partner_repacks = DesktopPartnerRepacks()
     partner_repacks.run_and_exit()