Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: tools/archive_crash.py

Issue 881743002: Set full path to gsutil on bot (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/archive_crash.py
===================================================================
--- tools/archive_crash.py (revision 43139)
+++ tools/archive_crash.py (working copy)
@@ -18,6 +18,7 @@
import uuid
GCS_FOLDER = 'dart-crashes'
+GSUTIL='/b/build/scripts/slave/gsutil'
def CreateTarball(input_dir, tarname):
print 'Creating tar file: %s' % tarname
@@ -27,7 +28,7 @@
def CopyToGCS(filename):
gs_location = 'gs://%s/%s/' % (GCS_FOLDER, uuid.uuid4())
- cmd = ['gsutil', 'cp', filename, gs_location]
+ cmd = [GSUTIL, 'cp', filename, gs_location]
print 'Running command: %s' % cmd
subprocess.check_call(cmd)
archived_filename = '%s%s' % (gs_location, filename.split('/').pop())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698