Index: scripts/slave/recipes/infra/luci_go.expected/luci_go.json |
diff --git a/scripts/slave/recipes/infra/luci_go.expected/luci_go.json b/scripts/slave/recipes/infra/luci_go.expected/luci_go.json |
index 54896883229b980503a604936761d3dc8047c04b..2359fe51fce5e1337baae90f8e259c23c7f578c3 100644 |
--- a/scripts/slave/recipes/infra/luci_go.expected/luci_go.json |
+++ b/scripts/slave/recipes/infra/luci_go.expected/luci_go.json |
@@ -11,13 +11,13 @@ |
"--slave", |
"TestSlavename", |
"--spec", |
- "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]", |
+ "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]", |
"--root", |
"infra/go/src/github.com/luci/luci-go", |
"--revision_mapping_file", |
"{\"infra/go/src/github.com/luci/luci-go\": \"got_revision\"}", |
"--git-cache-dir", |
- "[ROOT]/b/build/slave/cache_dir", |
+ "[GIT_CACHE]", |
"--output_json", |
"/path/to/tmp/json", |
"--revision", |
@@ -27,6 +27,7 @@ |
"--force", |
"--output_manifest" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -66,6 +67,7 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -75,32 +77,35 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/infra/go/env.py", |
+ "[SLAVE_BUILD]/infra/go/env.py", |
"go", |
"version" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "go third parties" |
}, |
{ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/infra/go/env.py", |
+ "[SLAVE_BUILD]/infra/go/env.py", |
"go", |
"build", |
"github.com/luci/luci-go/..." |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "go build" |
}, |
{ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/infra/go/env.py", |
+ "[SLAVE_BUILD]/infra/go/env.py", |
"go", |
"test", |
"github.com/luci/luci-go/..." |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "go test" |
}, |
{ |