Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(684)

Side by Side Diff: scripts/slave/recipe_modules/repo/example.expected/setup_repo.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "[DEPOT_TOOLS]/repo", 4 "[DEPOT_TOOLS]/repo",
5 "init", 5 "init",
6 "-u", 6 "-u",
7 "http://manifest_url" 7 "http://manifest_url"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]",
9 "name": "repo init" 10 "name": "repo init"
10 }, 11 },
11 { 12 {
12 "cmd": [ 13 "cmd": [
13 "[DEPOT_TOOLS]/repo", 14 "[DEPOT_TOOLS]/repo",
14 "init", 15 "init",
15 "-u", 16 "-u",
16 "http://manifest_url/manifest", 17 "http://manifest_url/manifest",
17 "-b", 18 "-b",
18 "branch" 19 "branch"
19 ], 20 ],
21 "cwd": "[SLAVE_BUILD]",
20 "name": "repo init (2)" 22 "name": "repo init (2)"
21 }, 23 },
22 { 24 {
23 "cmd": [ 25 "cmd": [
24 "[DEPOT_TOOLS]/repo", 26 "[DEPOT_TOOLS]/repo",
25 "forall", 27 "forall",
26 "-c", 28 "-c",
27 "git", 29 "git",
28 "reset", 30 "reset",
29 "--hard", 31 "--hard",
30 "HEAD" 32 "HEAD"
31 ], 33 ],
34 "cwd": "[SLAVE_BUILD]",
32 "name": "repo forall git reset" 35 "name": "repo forall git reset"
33 }, 36 },
34 { 37 {
35 "cmd": [ 38 "cmd": [
36 "[DEPOT_TOOLS]/repo", 39 "[DEPOT_TOOLS]/repo",
37 "forall", 40 "forall",
38 "-c", 41 "-c",
39 "git", 42 "git",
40 "clean", 43 "clean",
41 "-f", 44 "-f",
42 "-d" 45 "-d"
43 ], 46 ],
47 "cwd": "[SLAVE_BUILD]",
44 "name": "repo forall git clean" 48 "name": "repo forall git clean"
45 }, 49 },
46 { 50 {
47 "cmd": [ 51 "cmd": [
48 "[DEPOT_TOOLS]/repo", 52 "[DEPOT_TOOLS]/repo",
49 "forall", 53 "forall",
50 "-c", 54 "-c",
51 "git", 55 "git",
52 "clean", 56 "clean",
53 "-f", 57 "-f",
54 "-d", 58 "-d",
55 "-x" 59 "-x"
56 ], 60 ],
61 "cwd": "[SLAVE_BUILD]",
57 "name": "repo forall git clean (2)" 62 "name": "repo forall git clean (2)"
58 }, 63 },
59 { 64 {
60 "cmd": [ 65 "cmd": [
61 "[DEPOT_TOOLS]/repo", 66 "[DEPOT_TOOLS]/repo",
62 "sync" 67 "sync"
63 ], 68 ],
69 "cwd": "[SLAVE_BUILD]",
64 "name": "repo sync" 70 "name": "repo sync"
65 }, 71 },
66 { 72 {
67 "cmd": [ 73 "cmd": [
68 "[DEPOT_TOOLS]/repo", 74 "[DEPOT_TOOLS]/repo",
69 "list" 75 "list"
70 ], 76 ],
77 "cwd": "[SLAVE_BUILD]",
71 "name": "repo list", 78 "name": "repo list",
72 "stdout": "/path/to/tmp/", 79 "stdout": "/path/to/tmp/",
73 "~followup_annotations": [ 80 "~followup_annotations": [
74 "@@@STEP_TEXT@</br></br>src/foo : foo</br>src/bar : bar@@@" 81 "@@@STEP_TEXT@</br></br>src/foo : foo</br>src/bar : bar@@@"
75 ] 82 ]
76 }, 83 },
77 { 84 {
78 "cmd": [ 85 "cmd": [
79 "echo", 86 "echo",
80 "[('src/foo', 'foo'), ('src/bar', 'bar')]" 87 "[('src/foo', 'foo'), ('src/bar', 'bar')]"
81 ], 88 ],
89 "cwd": "[SLAVE_BUILD]",
82 "name": "repo list echo" 90 "name": "repo list echo"
83 } 91 }
84 ] 92 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698