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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 186 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
187 "[SLAVE_BUILD]/src/out/logcat" | 187 "[SLAVE_BUILD]/src/out/logcat" |
188 ], | 188 ], |
189 "env": { | 189 "env": { |
190 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 190 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
191 }, | 191 }, |
192 "name": "spawn_logcat_monitor" | 192 "name": "spawn_logcat_monitor" |
193 }, | 193 }, |
194 { | 194 { |
195 "cmd": [ | 195 "cmd": [ |
| 196 "python", |
| 197 "-u", |
| 198 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", |
| 199 "--adb-path", |
| 200 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 201 ], |
| 202 "env": { |
| 203 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 204 }, |
| 205 "name": "authorize_adb_devices" |
| 206 }, |
| 207 { |
| 208 "cmd": [ |
196 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 209 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
197 "--json-output", | 210 "--json-output", |
198 "/path/to/tmp/json" | 211 "/path/to/tmp/json" |
199 ], | 212 ], |
200 "env": { | 213 "env": { |
201 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 214 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
202 }, | 215 }, |
203 "name": "device_status_check", | 216 "name": "device_status_check", |
204 "~followup_annotations": [ | 217 "~followup_annotations": [ |
205 "@@@STEP_TEXT@Online devices: 1@@@", | 218 "@@@STEP_TEXT@Online devices: 1@@@", |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 348 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
336 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 349 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
337 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 350 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
338 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 351 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
339 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 352 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
340 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 353 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
341 "@@@STEP_LOG_END@python.inline@@@" | 354 "@@@STEP_LOG_END@python.inline@@@" |
342 ] | 355 ] |
343 } | 356 } |
344 ] | 357 ] |
OLD | NEW |