OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "RECIPE_MODULE[git]\\resources\\git_setup.py", | |
7 "--path", | |
8 "[SLAVE_BUILD]\\src", | |
9 "--url", | |
10 "https://chromium.googlesource.com/chromium/src.git", | |
11 "--git_cmd_path", | |
12 "[DEPOT_TOOLS]\\git.bat" | |
13 ], | |
14 "cwd": "[SLAVE_BUILD]", | |
15 "name": "git setup" | |
16 }, | |
17 { | |
18 "cmd": [ | |
19 "[DEPOT_TOOLS]\\git.bat", | |
20 "retry", | |
21 "fetch", | |
22 "origin", | |
23 "master", | |
24 "--recurse-submodules" | |
25 ], | |
26 "cwd": "[SLAVE_BUILD]\\src", | |
27 "name": "git fetch" | |
28 }, | |
29 { | |
30 "cmd": [ | |
31 "[DEPOT_TOOLS]\\git.bat", | |
32 "checkout", | |
33 "-f", | |
34 "FETCH_HEAD" | |
35 ], | |
36 "cwd": "[SLAVE_BUILD]\\src", | |
37 "name": "git checkout" | |
38 }, | |
39 { | |
40 "cmd": [ | |
41 "[DEPOT_TOOLS]\\git.bat", | |
42 "clean", | |
43 "-f", | |
44 "-d", | |
45 "-x" | |
46 ], | |
47 "cwd": "[SLAVE_BUILD]\\src", | |
48 "name": "git clean" | |
49 }, | |
50 { | |
51 "cmd": [ | |
52 "[DEPOT_TOOLS]\\git.bat", | |
53 "submodule", | |
54 "sync" | |
55 ], | |
56 "cwd": "[SLAVE_BUILD]\\src", | |
57 "name": "submodule sync" | |
58 }, | |
59 { | |
60 "cmd": [ | |
61 "[DEPOT_TOOLS]\\git.bat", | |
62 "submodule", | |
63 "update", | |
64 "--init", | |
65 "--recursive" | |
66 ], | |
67 "cwd": "[SLAVE_BUILD]\\src", | |
68 "name": "submodule update" | |
69 }, | |
70 { | |
71 "cmd": [ | |
72 "[DEPOT_TOOLS]\\git.bat", | |
73 "-c", | |
74 "foo=bar", | |
75 "count-objects", | |
76 "-v" | |
77 ], | |
78 "cwd": "[SLAVE_BUILD]\\src", | |
79 "name": "count-objects", | |
80 "stdout": "/path/to/tmp/" | |
81 }, | |
82 { | |
83 "cmd": [ | |
84 "[DEPOT_TOOLS]\\git.bat", | |
85 "config", | |
86 "--get", | |
87 "remote.origin.url" | |
88 ], | |
89 "cwd": "[SLAVE_BUILD]\\src", | |
90 "name": "git config remote.origin.url", | |
91 "stdout": "/path/to/tmp/", | |
92 "~followup_annotations": [ | |
93 "@@@STEP_TEXT@foo@@@" | |
94 ] | |
95 }, | |
96 { | |
97 "cmd": [ | |
98 "[DEPOT_TOOLS]\\git.bat", | |
99 "show", | |
100 "HEAD", | |
101 "--format=%at", | |
102 "-s" | |
103 ], | |
104 "cwd": "[SLAVE_BUILD]\\src", | |
105 "name": "git show", | |
106 "stdout": "/path/to/tmp/" | |
107 }, | |
108 { | |
109 "cmd": [ | |
110 "[DEPOT_TOOLS]\\git.bat", | |
111 "fetch", | |
112 "origin", | |
113 "--tags" | |
114 ], | |
115 "cwd": "[SLAVE_BUILD]\\src", | |
116 "name": "git fetch tags" | |
117 }, | |
118 { | |
119 "cmd": [ | |
120 "[DEPOT_TOOLS]\\git.bat", | |
121 "status" | |
122 ], | |
123 "cwd": "[SLAVE_BUILD]\\src", | |
124 "name": "git status" | |
125 }, | |
126 { | |
127 "cmd": [ | |
128 "[DEPOT_TOOLS]\\git.bat", | |
129 "status" | |
130 ], | |
131 "cwd": "[SLAVE_BUILD]\\src", | |
132 "name": "git status can_fail_build" | |
133 }, | |
134 { | |
135 "cmd": [ | |
136 "[DEPOT_TOOLS]\\git.bat", | |
137 "status" | |
138 ], | |
139 "cwd": "[SLAVE_BUILD]\\src", | |
140 "name": "git status cannot_fail_build" | |
141 }, | |
142 { | |
143 "cmd": [ | |
144 "[DEPOT_TOOLS]\\git.bat", | |
145 "rebase", | |
146 "origin/master" | |
147 ], | |
148 "cwd": "[SLAVE_BUILD]\\src", | |
149 "name": "my repo rebase" | |
150 }, | |
151 { | |
152 "cmd": [ | |
153 "[DEPOT_TOOLS]\\git.bat", | |
154 "bundle", | |
155 "create", | |
156 "[SLAVE_BUILD]\\all.bundle", | |
157 "--all" | |
158 ], | |
159 "cwd": "[SLAVE_BUILD]\\src", | |
160 "name": "git bundle" | |
161 }, | |
162 { | |
163 "name": "$result", | |
164 "recipe_result": null, | |
165 "status_code": 0 | |
166 } | |
167 ] | |
OLD | NEW |