Index: scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json |
diff --git a/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json b/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json |
index 9893ff34be996c205831a18d0cb28e9afa9cc152..05b6f5952e94fb03dee9aca7aedae07c24fd16b5 100644 |
--- a/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json |
+++ b/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json |
@@ -7,15 +7,16 @@ |
"--platform", |
"linux-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@@@" |
@@ -29,17 +30,18 @@ |
"--platform", |
"linux-amd64", |
"--dest-directory", |
- "[CWD]/cipd", |
+ "[SLAVE_BUILD]/cipd", |
"--json-output", |
"/path/to/tmp/json", |
"--version", |
"deadbeaf" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "install cipd (2)", |
"~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@@@" |
@@ -47,15 +49,16 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]/cipd/cipd", |
"ensure", |
"--root", |
- "[CWD]/packages", |
+ "[SLAVE_BUILD]/packages", |
"--list", |
"public/package/linux-amd64 7f751b2237df2fdf3c1405be00590fefffbaea2d", |
"--json-output", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "ensure_installed", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -71,7 +74,7 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]/cipd/cipd", |
"search", |
"public/package/linux-amd64", |
"--tag", |
@@ -79,6 +82,7 @@ |
"--json-output", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "cipd search public/package/linux-amd64 git_revision:40-chars-long-hash", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -94,7 +98,7 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]/cipd/cipd", |
"describe", |
"public/package/linux-amd64", |
"--version", |
@@ -102,6 +106,7 @@ |
"--json-output", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "cipd describe public/package/linux-amd64", |
"~followup_annotations": [ |
"step returned non-zero exit code: 1", |