OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
7 "[SLAVE_BUILD]" | 7 "[SLAVE_BUILD]" |
8 ], | 8 ], |
9 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
10 "~followup_annotations": [ | 10 "~followup_annotations": [ |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 "@@@STEP_LOG_LINE@json.output@]@@@", | 267 "@@@STEP_LOG_LINE@json.output@]@@@", |
268 "@@@STEP_LOG_END@json.output@@@" | 268 "@@@STEP_LOG_END@json.output@@@" |
269 ] | 269 ] |
270 }, | 270 }, |
271 { | 271 { |
272 "cmd": [ | 272 "cmd": [ |
273 "python", | 273 "python", |
274 "-u", | 274 "-u", |
275 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 275 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
276 "-t", | 276 "-t", |
277 "Release" | 277 "Release", |
| 278 "--adb-key-files /usr/local/google/home/navabi/.android/*.pub" |
278 ], | 279 ], |
279 "env": { | 280 "env": { |
280 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 281 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
281 }, | 282 }, |
282 "name": "provision_devices" | 283 "name": "provision_devices" |
283 }, | 284 }, |
284 { | 285 { |
285 "cmd": [ | 286 "cmd": [ |
286 "python", | 287 "python", |
287 "-u", | 288 "-u", |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 379 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
379 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 380 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
380 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 381 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
381 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 382 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
382 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 383 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
383 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 384 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
384 "@@@STEP_LOG_END@python.inline@@@" | 385 "@@@STEP_LOG_END@python.inline@@@" |
385 ] | 386 ] |
386 } | 387 } |
387 ] | 388 ] |
OLD | NEW |