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

Side by Side Diff: recipe_modules/step/example.expected/exceptional.json

Issue 1923013002: Revert of recipe engine: extract infra-specific paths out of the engine (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "echo", 4 "echo",
5 "Hello World" 5 "Hello World"
6 ], 6 ],
7 "cwd": "[SLAVE_BUILD]",
7 "name": "hello" 8 "name": "hello"
8 }, 9 },
9 { 10 {
10 "cmd": [ 11 "cmd": [
11 "echo", 12 "echo",
12 "Why hello, there." 13 "Why hello, there."
13 ], 14 ],
15 "cwd": "[SLAVE_BUILD]",
14 "name": "hello (2)" 16 "name": "hello (2)"
15 }, 17 },
16 { 18 {
17 "cmd": [ 19 "cmd": [
18 "bash", 20 "bash",
19 "-c", 21 "-c",
20 "echo Good bye, $friend." 22 "echo Good bye, $friend."
21 ], 23 ],
24 "cwd": "[SLAVE_BUILD]",
22 "env": { 25 "env": {
23 "friend": "Darth Vader" 26 "friend": "Darth Vader"
24 }, 27 },
25 "name": "goodbye" 28 "name": "goodbye"
26 }, 29 },
27 { 30 {
28 "cmd": [ 31 "cmd": [
29 "recipes.py", 32 "recipes.py",
30 "--help" 33 "--help"
31 ], 34 ],
35 "cwd": "[SLAVE_BUILD]",
32 "env": { 36 "env": {
33 "PATH": "RECIPE_PACKAGE_REPO[recipe_engine]:%(PATH)s" 37 "PATH": "RECIPE_PACKAGE_REPO[recipe_engine]:%(PATH)s"
34 }, 38 },
35 "name": "recipes help" 39 "name": "recipes help"
36 }, 40 },
37 { 41 {
38 "cmd": [ 42 "cmd": [
39 "bash", 43 "bash",
40 "-c", 44 "-c",
41 "exit 3" 45 "exit 3"
42 ], 46 ],
47 "cwd": "[SLAVE_BUILD]",
43 "name": "anything is cool" 48 "name": "anything is cool"
44 }, 49 },
45 { 50 {
46 "cmd": [ 51 "cmd": [
47 "echo", 52 "echo",
48 "hello" 53 "hello"
49 ], 54 ],
55 "cwd": "[SLAVE_BUILD]",
50 "name": "hello (3)", 56 "name": "hello (3)",
51 "~followup_annotations": [ 57 "~followup_annotations": [
52 "@@@STEP_LOG_LINE@the reason@The reason@@@", 58 "@@@STEP_LOG_LINE@the reason@The reason@@@",
53 "@@@STEP_LOG_LINE@the reason@it failed@@@", 59 "@@@STEP_LOG_LINE@the reason@it failed@@@",
54 "@@@STEP_LOG_END@the reason@@@", 60 "@@@STEP_LOG_END@the reason@@@",
55 "@@@STEP_EXCEPTION@@@" 61 "@@@STEP_EXCEPTION@@@"
56 ] 62 ]
57 }, 63 },
58 { 64 {
59 "cmd": [], 65 "cmd": [],
66 "cwd": "[SLAVE_BUILD]",
60 "name": "Just print stuff", 67 "name": "Just print stuff",
61 "~followup_annotations": [ 68 "~followup_annotations": [
62 "@@@STEP_LOG_LINE@more@More stuff@@@", 69 "@@@STEP_LOG_LINE@more@More stuff@@@",
63 "@@@STEP_LOG_END@more@@@" 70 "@@@STEP_LOG_END@more@@@"
64 ] 71 ]
65 }, 72 },
66 { 73 {
67 "cmd": [ 74 "cmd": [
68 "echo", 75 "echo",
69 "goodbye" 76 "goodbye"
70 ], 77 ],
78 "cwd": "[SLAVE_BUILD]",
71 "name": "goodbye (2)", 79 "name": "goodbye (2)",
72 "~followup_annotations": [ 80 "~followup_annotations": [
73 "step returned non-zero exit code: 1", 81 "step returned non-zero exit code: 1",
74 "@@@STEP_FAILURE@@@" 82 "@@@STEP_FAILURE@@@"
75 ] 83 ]
76 }, 84 },
77 { 85 {
78 "name": "$result", 86 "name": "$result",
79 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)", 87 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)",
80 "status_code": -1 88 "status_code": -1
81 } 89 }
82 ] 90 ]
OLDNEW
« no previous file with comments | « recipe_modules/step/example.expected/defer_results.json ('k') | recipe_modules/step/example.expected/infra_failure.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698