Index: native_client_sdk/src/build_tools/buildbot_common.py |
diff --git a/native_client_sdk/src/build_tools/buildbot_common.py b/native_client_sdk/src/build_tools/buildbot_common.py |
index 3c37ed9436d4b754ea4ca9d7dd7ca918d32e5f7c..c87f27522af5593964c32b6193a6610c20564440 100644 |
--- a/native_client_sdk/src/build_tools/buildbot_common.py |
+++ b/native_client_sdk/src/build_tools/buildbot_common.py |
@@ -97,7 +97,7 @@ def GetGsutil(): |
return LOCAL_GSUTIL |
-def Archive(filename, bucket_path, cwd=None): |
+def Archive(filename, bucket_path, cwd=None, step_link=True): |
"""Upload the given filename to Google Store.""" |
full_dst = 'gs://%s/%s' % (bucket_path, filename) |
@@ -107,5 +107,6 @@ def Archive(filename, bucket_path, cwd=None): |
cwd=cwd) |
url = 'https://commondatastorage.googleapis.com/'\ |
'%s/%s' % (bucket_path, filename) |
- print '@@@STEP_LINK@download@%s@@@' % url |
- sys.stdout.flush() |
+ if step_link: |
+ print '@@@STEP_LINK@download@%s@@@' % url |
+ sys.stdout.flush() |