pretty print json
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index 92ddb3a..c0f990e 100644
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -984,7 +984,7 @@
 
         info_file = os.path.join(tmpdir, "info.json")
         with open(info_file, mode="w", encoding="utf-8") as fp:
-            json.dump(info, fp)
+            json.dump(info, fp, indent=2, sort_keys=True)
 
         try:
             execute_command([