Index: scripts/slave/recipes/infra/cipd_test.expected/cipd-latest-ok-inner-win.json |
diff --git a/scripts/slave/recipes/infra/cipd_test.expected/cipd-latest-ok-inner-win.json b/scripts/slave/recipes/infra/cipd_test.expected/cipd-latest-ok-inner-win.json |
index 20da393364efaa4b5cc79ab8e96b61b15ba836e2..2d19dd07cd7f9f8d661551c426161dd245324429 100644 |
--- a/scripts/slave/recipes/infra/cipd_test.expected/cipd-latest-ok-inner-win.json |
+++ b/scripts/slave/recipes/infra/cipd_test.expected/cipd-latest-ok-inner-win.json |
@@ -7,15 +7,16 @@ |
"--platform", |
"windows-amd64", |
"--dest-directory", |
- "[CWD]\\cipd", |
+ "[SLAVE_BUILD]\\cipd", |
"--json-output", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "install cipd", |
"~followup_annotations": [ |
"@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
"@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]\\\\cipd\\\\cipd\", @@@", |
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@", |
"@@@STEP_LOG_LINE@json.output@}@@@", |
"@@@STEP_LOG_END@json.output@@@" |
@@ -23,19 +24,20 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"pkg-build", |
"--in", |
"[SLAVE_BUILD]/build/scripts/slave/recipe_modules/cipd", |
"--name", |
"infra/cipd_recipe_test/windows-amd64", |
"--out", |
- "[CWD]\\test_package.cipd", |
+ "[SLAVE_BUILD]\\test_package.cipd", |
"--json-output", |
"/path/to/tmp/json", |
"--install-mode", |
"copy" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "build windows-amd64", |
"~followup_annotations": [ |
"@@@STEP_TEXT@instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
@@ -50,9 +52,9 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"pkg-register", |
- "[CWD]\\test_package.cipd", |
+ "[SLAVE_BUILD]\\test_package.cipd", |
"--json-output", |
"/path/to/tmp/json", |
"--service-account-json", |
@@ -66,6 +68,7 @@ |
"--tag", |
"revision:deadbeaf" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "register infra/cipd_recipe_test/windows-amd64", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -79,7 +82,7 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"set-tag", |
"infra/cipd_recipe_test/windows-amd64", |
"--version", |
@@ -91,6 +94,7 @@ |
"--tag", |
"tag:cipd_test" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "cipd set-tag infra/cipd_recipe_test/windows-amd64", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -107,7 +111,7 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"set-ref", |
"infra/cipd_recipe_test/windows-amd64", |
"--version", |
@@ -119,6 +123,7 @@ |
"--ref", |
"cipd_test" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "cipd set-ref infra/cipd_recipe_test/windows-amd64", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -135,7 +140,7 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"search", |
"infra/cipd_recipe_test/windows-amd64", |
"--tag", |
@@ -145,6 +150,7 @@ |
"--service-account-json", |
"C:\\creds\\service_accounts\\service-account-cipd-builder.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "cipd search infra/cipd_recipe_test/windows-amd64 revision:deadbeaf", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -160,7 +166,7 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"describe", |
"infra/cipd_recipe_test/windows-amd64", |
"--version", |
@@ -170,6 +176,7 @@ |
"--service-account-json", |
"C:\\creds\\service_accounts\\service-account-cipd-builder.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "cipd describe infra/cipd_recipe_test/windows-amd64", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -211,10 +218,10 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"ensure", |
"--root", |
- "[CWD]\\cipd_test_package", |
+ "[SLAVE_BUILD]\\cipd_test_package", |
"--list", |
"infra/cipd_recipe_test/windows-amd64 latest", |
"--json-output", |
@@ -222,6 +229,7 @@ |
"--service-account-json", |
"C:\\creds\\service_accounts\\service-account-cipd-builder.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "ensure_installed", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -237,10 +245,10 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"ensure", |
"--root", |
- "[CWD]\\cipd_test_package", |
+ "[SLAVE_BUILD]\\cipd_test_package", |
"--list", |
"infra/cipd_recipe_test/windows-amd64 40-chars-fake-of-the-package-instance_id", |
"--json-output", |
@@ -248,6 +256,7 @@ |
"--service-account-json", |
"C:\\creds\\service_accounts\\service-account-cipd-builder.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "ensure_installed (2)", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -266,8 +275,9 @@ |
"python", |
"-u", |
"\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
- "[CWD]\\cipd_test_package\\.cipd" |
+ "[SLAVE_BUILD]\\cipd_test_package\\.cipd" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "rmtree .cipd package directory", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
@@ -282,19 +292,20 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]\\cipd\\cipd", |
"pkg-build", |
"--in", |
- "[CWD]\\cipd_test_package", |
+ "[SLAVE_BUILD]\\cipd_test_package", |
"--name", |
"infra/cipd_recipe_test/windows-amd64", |
"--out", |
- "[CWD]\\test_package.cipd", |
+ "[SLAVE_BUILD]\\test_package.cipd", |
"--json-output", |
"/path/to/tmp/json", |
"--install-mode", |
"copy" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "build windows-amd64 (2)", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |