| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 "name": "Version: some_builder_1234" | 163 "name": "Version: some_builder_1234" |
| 164 }, | 164 }, |
| 165 { | 165 { |
| 166 "cmd": [ | 166 "cmd": [ |
| 167 "python", | 167 "python", |
| 168 "-u", | 168 "-u", |
| 169 "[DEPOT_TOOLS]/gclient.py", | 169 "[DEPOT_TOOLS]/gclient.py", |
| 170 "runhooks" | 170 "runhooks" |
| 171 ], | 171 ], |
| 172 "env": { | 172 "env": { |
| 173 "EXTRA_LANDMINES_SCRIPT": "[SLAVE_BUILD]/src/clank/build/get_internal_land
mines.py", | |
| 174 "GYP_DEFINES": "OS=android app_manifest_version_code=10 app_manifest_versi
on_name=some_builder_1234 chrome_build_id=3333 component=static_library fastbuil
d=1 target_arch=arm", | 173 "GYP_DEFINES": "OS=android app_manifest_version_code=10 app_manifest_versi
on_name=some_builder_1234 chrome_build_id=3333 component=static_library fastbuil
d=1 target_arch=arm", |
| 175 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 174 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 176 }, | 175 }, |
| 177 "name": "gclient runhooks" | 176 "name": "gclient runhooks" |
| 178 }, | 177 }, |
| 179 { | 178 { |
| 180 "abort_on_failure": true, | 179 "abort_on_failure": true, |
| 181 "cmd": [ | 180 "cmd": [ |
| 182 "python", | 181 "python", |
| 183 "-u", | 182 "-u", |
| 184 "[BUILD]/scripts/slave/compile.py", | 183 "[BUILD]/scripts/slave/compile.py", |
| 185 "--target", | 184 "--target", |
| 186 "Release", | 185 "Release", |
| 187 "--src-dir", | 186 "--src-dir", |
| 188 "[SLAVE_BUILD]/src", | 187 "[SLAVE_BUILD]/src", |
| 189 "--build-tool", | 188 "--build-tool", |
| 190 "ninja", | 189 "ninja", |
| 191 "--" | 190 "--" |
| 192 ], | 191 ], |
| 193 "env": { | 192 "env": { |
| 194 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 193 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 195 }, | 194 }, |
| 196 "name": "compile" | 195 "name": "compile" |
| 197 }, | 196 }, |
| 198 { | 197 { |
| 199 "cmd": [ | 198 "cmd": [ |
| 199 "[DEPOT_TOOLS]/git_number.py" |
| 200 ], |
| 201 "cwd": "[SLAVE_BUILD]/src", |
| 202 "name": "git_number", |
| 203 "stdout": "/path/to/tmp/" |
| 204 }, |
| 205 { |
| 206 "always_run": true, |
| 207 "cmd": [ |
| 208 "python", |
| 209 "-u", |
| 210 "[BUILD]/scripts/slave/android/archive_build.py", |
| 211 "--target", |
| 212 "Release", |
| 213 "--name", |
| 214 "build_product.zip" |
| 215 ], |
| 216 "cwd": "[SLAVE_BUILD]/src", |
| 217 "name": "zip_build_product" |
| 218 }, |
| 219 { |
| 220 "cmd": [ |
| 221 "python", |
| 222 "-u", |
| 223 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py", |
| 224 "--", |
| 225 "[DEPOT_TOOLS]/third_party/gsutil/gsutil", |
| 226 "cp", |
| 227 "[SLAVE_BUILD]/src/out/build_product.zip", |
| 228 "gs://build-bucket/coverage_builder/build_product_4f4b02f6b7fa20a3a25682c4
57bbc8ad589c8a00.zip" |
| 229 ], |
| 230 "name": "gsutil upload_build_product", |
| 231 "~followup_annotations": [ |
| 232 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/build-bucket/
coverage_builder/build_product_4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00.zip@@@" |
| 233 ] |
| 234 }, |
| 235 { |
| 236 "cmd": [ |
| 200 "python", | 237 "python", |
| 201 "-u", | 238 "-u", |
| 202 "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py", | 239 "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py", |
| 203 "['[BUILD_INTERNAL]/scripts/slave/android/adb', 'devices']", | 240 "['[BUILD_INTERNAL]/scripts/slave/android/adb', 'devices']", |
| 204 "/path/to/tmp/json" | 241 "/path/to/tmp/json" |
| 205 ], | 242 ], |
| 206 "name": "List adb devices", | 243 "name": "List adb devices", |
| 207 "~followup_annotations": [ | 244 "~followup_annotations": [ |
| 208 "@@@STEP_LOG_LINE@json.output@[@@@", | 245 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 209 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 246 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 ], | 537 ], |
| 501 "name": "gsutil upload coverage report", | 538 "name": "gsutil upload coverage report", |
| 502 "~followup_annotations": [ | 539 "~followup_annotations": [ |
| 503 "@@@STEP_LINK@Coverage report@https://storage.cloud.google.com/chrome-code
-coverage/java/coverage_builder/4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" | 540 "@@@STEP_LINK@Coverage report@https://storage.cloud.google.com/chrome-code
-coverage/java/coverage_builder/4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" |
| 504 ] | 541 ] |
| 505 }, | 542 }, |
| 506 { | 543 { |
| 507 "always_run": true, | 544 "always_run": true, |
| 508 "cmd": [ | 545 "cmd": [ |
| 509 "rm", | 546 "rm", |
| 510 "-rf" | 547 "-rf", |
| 548 "[SLAVE_BUILD]/src/out/build_product.zip" |
| 511 ], | 549 ], |
| 512 "name": "cleanup_build" | 550 "name": "cleanup_build" |
| 513 } | 551 } |
| 514 ] | 552 ] |
| OLD | NEW |