OLD | NEW |
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 ] |
OLD | NEW |