Bug 1393509 - Fix artifact builds on windows with |mach try fuzzy|, r=dustin
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Thu, 24 Aug 2017 12:30:40 -0400
changeset 376723 4914beabe06a0545e8aab6ddff25f18cf2a2c555
parent 376722 730e5288436459d469ce36d2ebd45c4bee51e666
child 376724 1e7e3c146e8c7edf36ce1a7d2d60adf83faf849b
push id32389
push userarchaeopteryx@coole-files.de
push dateFri, 25 Aug 2017 11:08:14 +0000
treeherdermozilla-central@3bbd8e25df3d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1393509
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1393509 - Fix artifact builds on windows with |mach try fuzzy|, r=dustin MozReview-Commit-ID: Fo3WzFEdLUF
tools/tryselect/templates.py
--- a/tools/tryselect/templates.py
+++ b/tools/tryselect/templates.py
@@ -35,25 +35,25 @@ class Artifact(Template):
         group = parser.add_mutually_exclusive_group()
         group.add_argument('--artifact', action='store_true',
                            help='Force artifact builds where possible.')
         group.add_argument('--no-artifact', action='store_true',
                            help='Disable artifact builds even if being used locally.')
 
     def context(self, artifact, no_artifact, **kwargs):
         if artifact:
-            return {'enabled': 1}
+            return {'enabled': '1'}
 
         if no_artifact:
             return
 
         build = MozbuildObject.from_environment(cwd=here)
         try:
             if build.substs.get("MOZ_ARTIFACT_BUILDS"):
                 print("Artifact builds enabled, pass --no-artifact to disable")
-                return {'enabled': 1}
+                return {'enabled': '1'}
         except BuildEnvironmentNotFoundException:
             pass
 
 
 all_templates = {
     'artifact': Artifact,
 }