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

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

Issue 1241323004: Cross-repo recipe package system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Roll to latest recipes-py Created 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "echo",
5 "Hello World"
6 ],
7 "cwd": "[SLAVE_BUILD]",
8 "name": "hello"
9 },
10 {
11 "cmd": [
12 "echo",
13 "Why hello, there."
14 ],
15 "cwd": "[SLAVE_BUILD]",
16 "name": "hello (2)"
17 },
18 {
19 "cmd": [
20 "bash",
21 "-c",
22 "echo Good bye, $friend."
23 ],
24 "cwd": "[SLAVE_BUILD]",
25 "env": {
26 "friend": "Darth Vader"
27 },
28 "name": "goodbye"
29 },
30 {
31 "cmd": [
32 "bash",
33 "-c",
34 "exit 3"
35 ],
36 "cwd": "[SLAVE_BUILD]",
37 "name": "anything is cool"
38 },
39 {
40 "cmd": [
41 "echo",
42 "hello"
43 ],
44 "cwd": "[SLAVE_BUILD]",
45 "name": "hello (3)",
46 "~followup_annotations": [
47 "@@@STEP_LOG_LINE@the reason@The reason@@@",
48 "@@@STEP_LOG_LINE@the reason@it failed@@@",
49 "@@@STEP_LOG_END@the reason@@@",
50 "@@@STEP_EXCEPTION@@@"
51 ]
52 },
53 {
54 "cmd": [],
55 "cwd": "[SLAVE_BUILD]",
56 "name": "Just print stuff",
57 "~followup_annotations": [
58 "@@@STEP_LOG_LINE@more@More stuff@@@",
59 "@@@STEP_LOG_END@more@@@"
60 ]
61 },
62 {
63 "cmd": [
64 "echo",
65 "goodbye"
66 ],
67 "cwd": "[SLAVE_BUILD]",
68 "name": "goodbye (2)",
69 "~followup_annotations": [
70 "step returned non-zero exit code: 1",
71 "@@@STEP_FAILURE@@@"
72 ]
73 },
74 {
75 "name": "$final_result",
76 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)",
77 "status_code": -1
78 }
79 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698