| 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 "--adb", |
| 237 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 238 ], |
| 239 "env": { |
| 240 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 241 }, |
| 242 "name": "authorize_adb_devices" |
| 243 }, |
| 244 { |
| 245 "cmd": [ |
| 235 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 246 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 236 "--json-output", | 247 "--json-output", |
| 237 "/path/to/tmp/json" | 248 "/path/to/tmp/json" |
| 238 ], | 249 ], |
| 239 "env": { | 250 "env": { |
| 240 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 251 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 241 }, | 252 }, |
| 242 "name": "device_status_check", | 253 "name": "device_status_check", |
| 243 "~followup_annotations": [ | 254 "~followup_annotations": [ |
| 244 "@@@STEP_TEXT@Online devices: 1@@@", | 255 "@@@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@@@", | 385 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 375 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 386 "@@@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:@@@", | 387 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 377 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 388 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 378 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 389 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 379 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 390 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 380 "@@@STEP_LOG_END@python.inline@@@" | 391 "@@@STEP_LOG_END@python.inline@@@" |
| 381 ] | 392 ] |
| 382 } | 393 } |
| 383 ] | 394 ] |
| OLD | NEW |