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

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

Issue 2332833003: Add better documentation, trigger namedtuple. (Closed)
Patch Set: More cleanups. Created 4 years, 3 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 "name": "hello" 7 "name": "hello"
8 }, 8 },
9 { 9 {
10 "cmd": [ 10 "cmd": [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ], 49 ],
50 "name": "hello (3)", 50 "name": "hello (3)",
51 "~followup_annotations": [ 51 "~followup_annotations": [
52 "@@@STEP_LOG_LINE@the reason@The reason@@@", 52 "@@@STEP_LOG_LINE@the reason@The reason@@@",
53 "@@@STEP_LOG_LINE@the reason@it failed@@@", 53 "@@@STEP_LOG_LINE@the reason@it failed@@@",
54 "@@@STEP_LOG_END@the reason@@@", 54 "@@@STEP_LOG_END@the reason@@@",
55 "@@@STEP_EXCEPTION@@@" 55 "@@@STEP_EXCEPTION@@@"
56 ] 56 ]
57 }, 57 },
58 { 58 {
59 "cmd": [],
59 "name": "Just print stuff", 60 "name": "Just print stuff",
60 "~followup_annotations": [ 61 "~followup_annotations": [
61 "@@@STEP_LOG_LINE@more@More stuff@@@", 62 "@@@STEP_LOG_LINE@more@More stuff@@@",
62 "@@@STEP_LOG_END@more@@@" 63 "@@@STEP_LOG_END@more@@@"
63 ] 64 ]
64 }, 65 },
65 { 66 {
66 "cmd": [ 67 "cmd": [
67 "echo", 68 "echo",
68 "goodbye" 69 "goodbye"
69 ], 70 ],
70 "name": "goodbye (2)", 71 "name": "goodbye (2)",
71 "~followup_annotations": [ 72 "~followup_annotations": [
72 "step returned non-zero exit code: 1", 73 "step returned non-zero exit code: 1",
73 "@@@STEP_FAILURE@@@" 74 "@@@STEP_FAILURE@@@"
74 ] 75 ]
75 }, 76 },
76 { 77 {
77 "name": "$result", 78 "name": "$result",
78 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)", 79 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)",
79 "status_code": -1 80 "status_code": -1
80 } 81 }
81 ] 82 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698