Index: recipe_modules/git/example.expected/remote_not_origin.json |
diff --git a/recipe_modules/git/example.expected/remote_not_origin.json b/recipe_modules/git/example.expected/remote_not_origin.json |
index 6626ccbad027c9f96ef05498cbc5347ab2e90a3e..f1b6f2eb60151e109b07f1ee75017fad9cb01817 100644 |
--- a/recipe_modules/git/example.expected/remote_not_origin.json |
+++ b/recipe_modules/git/example.expected/remote_not_origin.json |
@@ -5,12 +5,13 @@ |
"-u", |
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
"--path", |
- "[CWD]/src", |
+ "[SLAVE_BUILD]/src", |
"--url", |
"https://chromium.googlesource.com/chromium/src.git", |
"--remote", |
"not_origin" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "git setup" |
}, |
{ |
@@ -22,7 +23,7 @@ |
"master", |
"--recurse-submodules" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git fetch" |
}, |
{ |
@@ -32,7 +33,7 @@ |
"-f", |
"FETCH_HEAD" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git checkout" |
}, |
{ |
@@ -41,7 +42,7 @@ |
"rev-parse", |
"HEAD" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "read revision", |
"stdout": "/path/to/tmp/", |
"~followup_annotations": [ |
@@ -56,7 +57,7 @@ |
"-d", |
"-x" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git clean" |
}, |
{ |
@@ -65,7 +66,7 @@ |
"submodule", |
"sync" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "submodule sync" |
}, |
{ |
@@ -76,7 +77,7 @@ |
"--init", |
"--recursive" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "submodule update" |
}, |
{ |
@@ -87,7 +88,7 @@ |
"count-objects", |
"-v" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "count-objects", |
"stdout": "/path/to/tmp/" |
}, |
@@ -98,7 +99,7 @@ |
"--get", |
"remote.origin.url" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git config remote.origin.url", |
"stdout": "/path/to/tmp/", |
"~followup_annotations": [ |
@@ -113,7 +114,7 @@ |
"--format=%at", |
"-s" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git show", |
"stdout": "/path/to/tmp/" |
}, |
@@ -124,7 +125,7 @@ |
"not_origin", |
"--tags" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git fetch tags" |
}, |
{ |
@@ -132,7 +133,7 @@ |
"git", |
"status" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git status" |
}, |
{ |
@@ -140,7 +141,7 @@ |
"git", |
"status" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git status can_fail_build" |
}, |
{ |
@@ -148,7 +149,7 @@ |
"git", |
"status" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git status cannot_fail_build" |
}, |
{ |
@@ -157,7 +158,7 @@ |
"rebase", |
"not_origin/master" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "my repo rebase" |
}, |
{ |
@@ -165,10 +166,10 @@ |
"git", |
"bundle", |
"create", |
- "[CWD]/all.bundle", |
+ "[SLAVE_BUILD]/all.bundle", |
"--all" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git bundle" |
}, |
{ |