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

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

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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
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 "bash", 32 "bash",
30 "-c", 33 "-c",
31 "exit 3" 34 "exit 3"
32 ], 35 ],
36 "cwd": "[SLAVE_BUILD]",
33 "name": "anything is cool" 37 "name": "anything is cool"
34 }, 38 },
35 { 39 {
36 "cmd": [ 40 "cmd": [
37 "echo", 41 "echo",
38 "hello" 42 "hello"
39 ], 43 ],
44 "cwd": "[SLAVE_BUILD]",
40 "name": "hello (3)", 45 "name": "hello (3)",
41 "~followup_annotations": [ 46 "~followup_annotations": [
42 "@@@STEP_EXCEPTION@@@" 47 "@@@STEP_EXCEPTION@@@"
43 ] 48 ]
44 }, 49 },
45 { 50 {
46 "cmd": [ 51 "cmd": [
47 "echo", 52 "echo",
48 "goodbye" 53 "goodbye"
49 ], 54 ],
55 "cwd": "[SLAVE_BUILD]",
50 "name": "goodbye (2)", 56 "name": "goodbye (2)",
51 "~followup_annotations": [ 57 "~followup_annotations": [
52 "step returned non-zero exit code: 1", 58 "step returned non-zero exit code: 1",
53 "@@@STEP_FAILURE@@@" 59 "@@@STEP_FAILURE@@@"
54 ] 60 ]
55 }, 61 },
56 { 62 {
57 "name": "$final_result", 63 "name": "$final_result",
58 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)", 64 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)",
59 "status_code": -1 65 "status_code": -1
60 } 66 }
61 ] 67 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698