bug 1254356 - readd self.clobberer() call. r=catlee a=fixclobbereronaurora
authorAki Sasaki <asasaki@mozilla.com>
Wed, 09 Mar 2016 13:01:22 -0800
changeset 323998 472c1e232045e8973446460e142bf16f1b605d4f
parent 323997 789ad2053247bcdef0535b4ae9b06690b01017d6
child 323999 51108a6d89630bd07a3251f3bb7c89e25f5d835d
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscatlee, fixclobbereronaurora
bugs1254356
milestone47.0a2
bug 1254356 - readd self.clobberer() call. r=catlee a=fixclobbereronaurora MozReview-Commit-ID: C5gxmII6unc
testing/mozharness/mozharness/mozilla/purge.py
--- a/testing/mozharness/mozharness/mozilla/purge.py
+++ b/testing/mozharness/mozharness/mozilla/purge.py
@@ -92,10 +92,12 @@ class PurgeMixin(object):
                 super(PurgeMixin, self).clobber()
             else:
                 # Delete the upload dir so we don't upload previous stuff by
                 # accident
                 if always_clobber_dirs is None:
                     always_clobber_dirs = []
                 for path in always_clobber_dirs:
                     self.rmtree(path)
+            if 'clobberer_url' in c and c.get('use_clobberer', True):
+                self.clobberer()
         else:
             super(PurgeMixin, self).clobber()