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

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

Issue 2253943003: Formally define step config, pass to stream. (Closed) Base URL: https://github.com/luci/recipes-py@nest-single-event
Patch Set: Rebase 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": [],
60 "name": "Just print stuff", 59 "name": "Just print stuff",
61 "~followup_annotations": [ 60 "~followup_annotations": [
62 "@@@STEP_LOG_LINE@more@More stuff@@@", 61 "@@@STEP_LOG_LINE@more@More stuff@@@",
63 "@@@STEP_LOG_END@more@@@" 62 "@@@STEP_LOG_END@more@@@"
64 ] 63 ]
65 }, 64 },
66 { 65 {
67 "cmd": [ 66 "cmd": [
68 "echo", 67 "echo",
69 "goodbye" 68 "goodbye"
70 ], 69 ],
71 "name": "goodbye (2)", 70 "name": "goodbye (2)",
72 "~followup_annotations": [ 71 "~followup_annotations": [
73 "step returned non-zero exit code: 1", 72 "step returned non-zero exit code: 1",
74 "@@@STEP_FAILURE@@@" 73 "@@@STEP_FAILURE@@@"
75 ] 74 ]
76 }, 75 },
77 { 76 {
78 "name": "$result", 77 "name": "$result",
79 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)", 78 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)",
80 "status_code": -1 79 "status_code": -1
81 } 80 }
82 ] 81 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698