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

Unified Diff: recipe_modules/generator_script/example.py

Issue 1906323003: recipe engine: extract infra-specific paths out of the engine (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: tmp Created 4 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
« no previous file with comments | « no previous file | recipe_modules/generator_script/example.expected/always_run.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/generator_script/example.py
diff --git a/recipe_modules/generator_script/example.py b/recipe_modules/generator_script/example.py
index 3fd91361988a3ddc901f977e1852c0e6ed120a24..36c4f1f8356277c48af8b2ec773714eaa839475a 100644
--- a/recipe_modules/generator_script/example.py
+++ b/recipe_modules/generator_script/example.py
@@ -18,7 +18,7 @@ PROPERTIES = {
}
def RunSteps(api, script_name, script_env):
- api.path['checkout'] = api.path['slave_build']
+ api.path['checkout'] = api.path['tmp'].join('checkout')
script_name = api.properties['script_name']
script_env = api.properties.get('script_env')
api.generator_script(script_name, env=script_env)
« no previous file with comments | « no previous file | recipe_modules/generator_script/example.expected/always_run.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698