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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 225 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
226 "[SLAVE_BUILD]/src/out/logcat" | 226 "[SLAVE_BUILD]/src/out/logcat" |
227 ], | 227 ], |
228 "env": { | 228 "env": { |
229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
230 }, | 230 }, |
231 "name": "spawn_logcat_monitor" | 231 "name": "spawn_logcat_monitor" |
232 }, | 232 }, |
233 { | 233 { |
234 "cmd": [ | 234 "cmd": [ |
| 235 "[BUILD]/scripts/slave/android/authorize_adb_devices" |
| 236 ], |
| 237 "env": { |
| 238 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 239 }, |
| 240 "name": "authorize_adb_devices" |
| 241 }, |
| 242 { |
| 243 "cmd": [ |
235 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 244 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
236 "--json-output", | 245 "--json-output", |
237 "/path/to/tmp/json" | 246 "/path/to/tmp/json" |
238 ], | 247 ], |
239 "env": { | 248 "env": { |
240 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 249 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
241 }, | 250 }, |
242 "name": "device_status_check", | 251 "name": "device_status_check", |
243 "~followup_annotations": [ | 252 "~followup_annotations": [ |
244 "@@@STEP_TEXT@Online devices: 1@@@", | 253 "@@@STEP_TEXT@Online devices: 1@@@", |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 383 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
375 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 384 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
376 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 385 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
377 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 386 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
378 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 387 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
379 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 388 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
380 "@@@STEP_LOG_END@python.inline@@@" | 389 "@@@STEP_LOG_END@python.inline@@@" |
381 ] | 390 ] |
382 } | 391 } |
383 ] | 392 ] |
OLD | NEW |