Bug 1463622 - errors running the partner repack script should be fatal, r=Callek, a=release
authorNick Thomas <nthomas@mozilla.com>
Wed, 23 May 2018 13:03:58 +1200
changeset 473396 a4753784833d68799720789ce80526eed1d0e084
parent 473395 f8c381b7d9a42ecbe4ed34792cd98430b32b6dd0
child 473397 151ea913c9a32f499bbfb077e331554c0d251e83
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek, release
bugs1463622
milestone61.0
Bug 1463622 - errors running the partner repack script should be fatal, r=Callek, a=release 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()