| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 "@@@STEP_LOG_LINE@json.output@]@@@", | 228 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 229 "@@@STEP_LOG_END@json.output@@@" | 229 "@@@STEP_LOG_END@json.output@@@" |
| 230 ] | 230 ] |
| 231 }, | 231 }, |
| 232 { | 232 { |
| 233 "cmd": [ | 233 "cmd": [ |
| 234 "python", | 234 "python", |
| 235 "-u", | 235 "-u", |
| 236 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 236 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 237 "-t", | 237 "-t", |
| 238 "Debug" | 238 "Debug", |
| 239 "--adb-key-files /usr/local/google/home/navabi/.android/*.pub" |
| 239 ], | 240 ], |
| 240 "env": { | 241 "env": { |
| 241 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 242 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 242 }, | 243 }, |
| 243 "name": "provision_devices" | 244 "name": "provision_devices" |
| 244 }, | 245 }, |
| 245 { | 246 { |
| 246 "cmd": [ | 247 "cmd": [ |
| 247 "python", | 248 "python", |
| 248 "-u", | 249 "-u", |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 336 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 336 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 337 "@@@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:@@@", | 338 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 338 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 339 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 339 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 340 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 340 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 341 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 341 "@@@STEP_LOG_END@python.inline@@@" | 342 "@@@STEP_LOG_END@python.inline@@@" |
| 342 ] | 343 ] |
| 343 } | 344 } |
| 344 ] | 345 ] |
| OLD | NEW |