OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", | 6 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", |
7 "[CWD]/src/out/Release", | 7 "[SLAVE_BUILD]/src/out/Release", |
8 "/path/to/tmp/json" | 8 "/path/to/tmp/json" |
9 ], | 9 ], |
| 10 "cwd": "[SLAVE_BUILD]", |
10 "name": "listdir build_dir", | 11 "name": "listdir build_dir", |
11 "~followup_annotations": [ | 12 "~followup_annotations": [ |
12 "@@@STEP_LOG_LINE@json.output@[@@@", | 13 "@@@STEP_LOG_LINE@json.output@[@@@", |
13 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@", | 14 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@", |
14 "@@@STEP_LOG_LINE@json.output@ \"resources\"@@@", | 15 "@@@STEP_LOG_LINE@json.output@ \"resources\"@@@", |
15 "@@@STEP_LOG_LINE@json.output@]@@@", | 16 "@@@STEP_LOG_LINE@json.output@]@@@", |
16 "@@@STEP_LOG_END@json.output@@@", | 17 "@@@STEP_LOG_END@json.output@@@", |
17 "@@@STEP_LOG_LINE@python.inline@@@@", | 18 "@@@STEP_LOG_LINE@python.inline@@@@", |
18 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", | 19 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", |
19 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", | 20 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", |
20 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", |
21 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", | 22 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", |
22 "@@@STEP_LOG_END@python.inline@@@" | 23 "@@@STEP_LOG_END@python.inline@@@" |
23 ] | 24 ] |
24 }, | 25 }, |
25 { | 26 { |
26 "cmd": [ | 27 "cmd": [ |
27 "python", | 28 "python", |
28 "-u", | 29 "-u", |
29 "RECIPE_MODULE[build::archive]/resources/zip_archive.py", | 30 "RECIPE_MODULE[build::archive]/resources/zip_archive.py", |
30 "[TMP]/chrome_staging_tmp_1", | 31 "[TMP_BASE]/chrome_staging_tmp_1", |
31 "chrome-asan-linux-release-x10-component-234", | 32 "chrome-asan-linux-release-x10-component-234", |
32 "[\"chrome\", \"resources\"]", | 33 "[\"chrome\", \"resources\"]", |
33 "[CWD]/src/out/Release" | 34 "[SLAVE_BUILD]/src/out/Release" |
34 ], | 35 ], |
| 36 "cwd": "[SLAVE_BUILD]", |
35 "name": "zipping" | 37 "name": "zipping" |
36 }, | 38 }, |
37 { | 39 { |
38 "cmd": [ | 40 "cmd": [ |
39 "python", | 41 "python", |
40 "-u", | 42 "-u", |
41 "[ROOT]/b/depot_tools/gsutil.py", | 43 "[DEPOT_TOOLS]/gsutil.py", |
42 "--", | 44 "--", |
43 "-h", | 45 "-h", |
44 "x-goog-meta-Cr-Commit-Position:refs/heads/master@{#234}", | 46 "x-goog-meta-Cr-Commit-Position:refs/heads/master@{#234}", |
45 "-h", | 47 "-h", |
46 "x-goog-meta-Cr-Commit-Position-Number:234", | 48 "x-goog-meta-Cr-Commit-Position-Number:234", |
47 "-h", | 49 "-h", |
48 "x-goog-meta-Cr-Git-Commit:deadbeefdda2b170692f8e762d43b7e8e7a96686", | 50 "x-goog-meta-Cr-Git-Commit:deadbeefdda2b170692f8e762d43b7e8e7a96686", |
49 "cp", | 51 "cp", |
50 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-x10-component-234.zi
p", | 52 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-x10-component-2
34.zip", |
51 "gs://chromium/linux-release/chrome-asan-linux-release-x10-component-234.z
ip" | 53 "gs://chromium/linux-release/chrome-asan-linux-release-x10-component-234.z
ip" |
52 ], | 54 ], |
| 55 "cwd": "[SLAVE_BUILD]", |
53 "name": "gsutil upload", | 56 "name": "gsutil upload", |
54 "~followup_annotations": [ | 57 "~followup_annotations": [ |
55 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release/chrome-asan-linux-release-x10-component-234.zip@@@" | 58 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release/chrome-asan-linux-release-x10-component-234.zip@@@" |
56 ] | 59 ] |
57 }, | 60 }, |
58 { | 61 { |
59 "cmd": [ | 62 "cmd": [ |
60 "python", | 63 "python", |
61 "-u", | 64 "-u", |
62 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", | 65 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
63 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-x10-component-234.zi
p" | 66 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-x10-component-2
34.zip" |
64 ], | 67 ], |
| 68 "cwd": "[SLAVE_BUILD]", |
65 "name": "chrome-asan-linux-release-x10-component-234.zip", | 69 "name": "chrome-asan-linux-release-x10-component-234.zip", |
66 "~followup_annotations": [ | 70 "~followup_annotations": [ |
67 "@@@STEP_LOG_LINE@python.inline@@@@", | 71 "@@@STEP_LOG_LINE@python.inline@@@@", |
68 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 72 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
69 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 73 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
70 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", | 74 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
71 "@@@STEP_LOG_END@python.inline@@@" | 75 "@@@STEP_LOG_END@python.inline@@@" |
72 ] | 76 ] |
73 }, | 77 }, |
74 { | 78 { |
75 "name": "$result", | 79 "name": "$result", |
76 "recipe_result": null, | 80 "recipe_result": null, |
77 "status_code": 0 | 81 "status_code": 0 |
78 } | 82 } |
79 ] | 83 ] |
OLD | NEW |