Bug 1306722 - Make l10n nightly builds in builds-4hr use 40 character SHA revision. r=nthomas draft
authorJustin Wood <Callek@gmail.com>
Tue, 08 Nov 2016 12:21:48 -0500
changeset 435420 24d69bd64cab8f3036e46fec4ab245e51c7a346e
parent 435356 aea5b4c3d165dcde027b3b6551b146a56748e9be
child 536307 35ca45727aa22da6bf1bc6d8ad195d41e73fdc3c
push id35036
push userCallek@gmail.com
push dateTue, 08 Nov 2016 17:22:13 +0000
reviewersnthomas
bugs1306722
milestone52.0a1
Bug 1306722 - Make l10n nightly builds in builds-4hr use 40 character SHA revision. r=nthomas MozReview-Commit-ID: EOIYk11WQ1J
testing/mozharness/mozharness/mozilla/building/buildbase.py
--- a/testing/mozharness/mozharness/mozilla/building/buildbase.py
+++ b/testing/mozharness/mozharness/mozilla/building/buildbase.py
@@ -1198,17 +1198,17 @@ or run without that action (ie: --no-{ac
             if changes:
                 comments = changes[0].get('comments', '')
                 self.set_buildbot_property('comments',
                                            comments,
                                            write_to_file=True)
             else:
                 self.warning(ERROR_MSGS['comments_undetermined'])
             self.set_buildbot_property('got_revision',
-                                       rev[:12],
+                                       rev,
                                        write_to_file=True)
 
     def _count_ctors(self):
         """count num of ctors and set testresults."""
         dirs = self.query_abs_dirs()
         python_path = os.path.join(dirs['abs_work_dir'], 'venv', 'bin',
                                    'python')
         abs_count_ctors_path = os.path.join(dirs['abs_src_dir'],