OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
7 "[SLAVE_BUILD]/go/src", | 7 "[SLAVE_BUILD]/go/src", |
8 "511" | 8 "511" |
9 ], | 9 ], |
| 10 "cwd": "[SLAVE_BUILD]", |
10 "name": "makedirs makedirs go/src", | 11 "name": "makedirs makedirs go/src", |
11 "~followup_annotations": [ | 12 "~followup_annotations": [ |
12 "@@@STEP_LOG_LINE@python.inline@@@@", | 13 "@@@STEP_LOG_LINE@python.inline@@@@", |
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 14 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 15 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 16 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 19 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
21 "@@@STEP_LOG_END@python.inline@@@" | 22 "@@@STEP_LOG_END@python.inline@@@" |
22 ] | 23 ] |
23 }, | 24 }, |
24 { | 25 { |
25 "cmd": [ | 26 "cmd": [ |
26 "git", | 27 "git", |
27 "clone", | 28 "clone", |
28 "https://skia.googlesource.com/buildbot", | 29 "https://skia.googlesource.com/buildbot", |
29 "[SLAVE_BUILD]/go/src/go.skia.org/infra" | 30 "[SLAVE_BUILD]/go/src/go.skia.org/infra" |
30 ], | 31 ], |
| 32 "cwd": "[SLAVE_BUILD]", |
31 "name": "git clone" | 33 "name": "git clone" |
32 }, | 34 }, |
33 { | 35 { |
34 "cmd": [ | 36 "cmd": [ |
35 "git", | 37 "git", |
36 "fetch", | 38 "fetch", |
37 "origin" | 39 "origin" |
38 ], | 40 ], |
39 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", | 41 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", |
40 "name": "git fetch" | 42 "name": "git fetch" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 ], | 136 ], |
135 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", | 137 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", |
136 "env": { | 138 "env": { |
137 "GIT_USER_AGENT": "git/1.9.1", | 139 "GIT_USER_AGENT": "git/1.9.1", |
138 "GOPATH": "[SLAVE_BUILD]/go", | 140 "GOPATH": "[SLAVE_BUILD]/go", |
139 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" | 141 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" |
140 }, | 142 }, |
141 "name": "run_unittests" | 143 "name": "run_unittests" |
142 } | 144 } |
143 ] | 145 ] |
OLD | NEW |