Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(789)

Unified Diff: scripts/slave/recipe_modules/gclient/example.expected/basic.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/gclient/example.expected/basic.json
diff --git a/scripts/slave/recipe_modules/gclient/example.expected/basic.json b/scripts/slave/recipe_modules/gclient/example.expected/basic.json
index b3cb48521d7abd989a5aba275bc195b66f60cf22..db4631fe099a7f7dd7dc41fd316592738a6e5ad7 100644
--- a/scripts/slave/recipe_modules/gclient/example.expected/basic.json
+++ b/scripts/slave/recipe_modules/gclient/example.expected/basic.json
@@ -8,6 +8,7 @@
"--spec",
"cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "gclient setup"
},
{
@@ -28,6 +29,7 @@
"--output-json",
"/path/to/tmp/json"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "gclient sync",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
@@ -51,6 +53,7 @@
"user.name",
"local_bot"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "gclient recurse (git config user.name)"
},
{
@@ -64,6 +67,7 @@
"user.email",
"local_bot@example.com"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "gclient recurse (git config user.email)"
},
{
@@ -115,6 +119,7 @@
"\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n",
"[SLAVE_BUILD]"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "cleanup index.lock",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@",

Powered by Google App Engine
This is Rietveld 408576698