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