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

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: presubmit 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..4acee8e7cef61214998ba9b6ac39ef414e220bb3 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_base'].join('checkout')
iannucci 2016/04/23 20:13:08 is this a good example? I mean; if someone copy-pa
Paweł Hajdan Jr. 2016/04/26 08:34:15 Well, it's not worse than before. Nothing is check
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