Bug 1393509 - Fix artifact builds on windows with |mach try fuzzy|, r?dustin draft
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Thu, 24 Aug 2017 12:30:40 -0400
changeset 652226 6d5f4009e81e3ec7786fa8e12827542eaa428776
parent 652136 892c8916ba32b7733e06bfbfdd4083ffae3ca028
child 728033 a3d1a89f013e2b6cdb195718642c08817f7254de
push id75998
push userahalberstadt@mozilla.com
push dateThu, 24 Aug 2017 16:44:50 +0000
reviewersdustin
bugs1393509
milestone57.0a1
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,
 }