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 802221 c3f38f9d316e1159bd7716f8a35f13bebc51c707
parent 802220 5a7eef7de073ad8b0405ee3903290f617eda10eb
child 802222 2b3fe14452135cb8b86fa0ab4fff5ef58be4bb1e
push id111850
push userbmo:tom@mozilla.com
push dateThu, 31 May 2018 16:41:37 +0000
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()