Bug 1102489 - m-i and fx-team test logs are being uploaded to ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/11/, r=catlee
authorJordan Lund <jlund@mozilla.com>
Thu, 20 Nov 2014 21:54:21 -0800 (2014-11-21)
changeset 3405 2453fb0cf05233f1da5728fae31ead6253360c33
parent 3402 2fdc1c6ae231e845e16f44a0e73c1c080b32e0e6
child 3406 1b0feed9b78c6eaab05625afa1dc3c51aca55ac7
child 3407 d1c22446e8a14c64f279ede9dd4bf3974a1aef1a
push id2632
push userjlund@mozilla.com
push dateFri, 21 Nov 2014 05:54:25 +0000 (2014-11-21)
reviewerscatlee
bugs1102489
Bug 1102489 - m-i and fx-team test logs are being uploaded to ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014/11/, r=catlee
mozharness/mozilla/building/buildbase.py
--- a/mozharness/mozilla/building/buildbase.py
+++ b/mozharness/mozilla/building/buildbase.py
@@ -1505,19 +1505,20 @@ or run without that action (ie: --no-{ac
         pgo_build = c.get('pgo_build', False) or self._compile_against_pgo()
 
         # these cmds are sent to mach through env vars. We won't know the
         # packageUrl or testsUrl until mach runs upload target so we let mach
         #  fill in the rest of the cmd
         sendchange_props = {
             'buildid': self.query_buildid(),
             'builduid': self.query_builduid(),
-            'nightly_build': self.query_is_nightly(),
             'pgo_build': pgo_build,
         }
+        if self.query_is_nightly():
+            sendchange_props['nightly_build'] = True
         if test_type == 'talos':
             if pgo_build:
                 build_type = 'pgo-'
             else:  # we don't do talos sendchange for debug so no need to check
                 build_type = ''  # leave 'opt' out of branch for talos
             talos_branch = "%s-%s-%s%s" % (self.branch,
                                            self.stage_platform,
                                            build_type,