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 }, | 80 }, |
73 { | 81 { |
74 "cmd": [ | 82 "cmd": [ |
75 "echo", | 83 "echo", |
76 "warning" | 84 "warning" |
77 ], | 85 ], |
| 86 "cwd": "[SLAVE_BUILD]", |
78 "name": "warning" | 87 "name": "warning" |
79 }, | 88 }, |
80 { | 89 { |
81 "cmd": [ | 90 "cmd": [ |
82 "echo", | 91 "echo", |
83 "testa" | 92 "testa" |
84 ], | 93 ], |
| 94 "cwd": "[SLAVE_BUILD]", |
85 "name": "testa", | 95 "name": "testa", |
86 "~followup_annotations": [ | 96 "~followup_annotations": [ |
87 "step returned non-zero exit code: 1", | 97 "step returned non-zero exit code: 1", |
88 "@@@STEP_FAILURE@@@" | 98 "@@@STEP_FAILURE@@@" |
89 ] | 99 ] |
90 }, | 100 }, |
91 { | 101 { |
92 "cmd": [ | 102 "cmd": [ |
93 "echo", | 103 "echo", |
94 "testb" | 104 "testb" |
95 ], | 105 ], |
| 106 "cwd": "[SLAVE_BUILD]", |
96 "name": "testb" | 107 "name": "testb" |
97 }, | 108 }, |
98 { | 109 { |
99 "name": "$result", | 110 "name": "$result", |
100 "reason": "You can catch step failures.", | 111 "reason": "You can catch step failures.", |
101 "status_code": 1 | 112 "status_code": 1 |
102 } | 113 } |
103 ] | 114 ] |
OLD | NEW |