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 "python", |
| 236 "-u", |
| 237 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", |
| 238 "--adb-path", |
| 239 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 240 ], |
| 241 "env": { |
| 242 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 243 }, |
| 244 "name": "authorize_adb_devices" |
| 245 }, |
| 246 { |
| 247 "cmd": [ |
235 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 248 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
236 "--json-output", | 249 "--json-output", |
237 "/path/to/tmp/json" | 250 "/path/to/tmp/json" |
238 ], | 251 ], |
239 "env": { | 252 "env": { |
240 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 253 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
241 }, | 254 }, |
242 "name": "device_status_check", | 255 "name": "device_status_check", |
243 "~followup_annotations": [ | 256 "~followup_annotations": [ |
244 "@@@STEP_TEXT@Online devices: 1@@@", | 257 "@@@STEP_TEXT@Online devices: 1@@@", |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 391 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
379 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 392 "@@@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:@@@", | 393 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
381 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 394 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
382 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 395 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
383 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 396 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
384 "@@@STEP_LOG_END@python.inline@@@" | 397 "@@@STEP_LOG_END@python.inline@@@" |
385 ] | 398 ] |
386 } | 399 } |
387 ] | 400 ] |
OLD | NEW |