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 }, | 96 }, |
87 { | 97 { |
88 "cmd": [ | 98 "cmd": [ |
89 "echo", | 99 "echo", |
90 "testb" | 100 "testb" |
91 ], | 101 ], |
| 102 "cwd": "[SLAVE_BUILD]", |
92 "name": "testb" | 103 "name": "testb" |
93 }, | 104 }, |
94 { | 105 { |
95 "cmd": [ | 106 "cmd": [ |
96 "echo", | 107 "echo", |
97 "cleaning", | 108 "cleaning", |
98 "up", | 109 "up", |
99 "build" | 110 "build" |
100 ], | 111 ], |
| 112 "cwd": "[SLAVE_BUILD]", |
101 "name": "cleanup", | 113 "name": "cleanup", |
102 "~followup_annotations": [ | 114 "~followup_annotations": [ |
103 "step returned non-zero exit code: 1", | 115 "step returned non-zero exit code: 1", |
104 "@@@STEP_EXCEPTION@@@" | 116 "@@@STEP_EXCEPTION@@@" |
105 ] | 117 ] |
106 }, | 118 }, |
107 { | 119 { |
108 "cmd": [ | 120 "cmd": [ |
109 "python", | 121 "python", |
110 "-c", | 122 "-c", |
111 "import sys; print sys.argv", | 123 "import sys; print sys.argv", |
112 "echo", | 124 "echo", |
113 "main", | 125 "main", |
114 "application" | 126 "application" |
115 ], | 127 ], |
| 128 "cwd": "[SLAVE_BUILD]", |
116 "name": "application" | 129 "name": "application" |
117 }, | 130 }, |
118 { | 131 { |
119 "name": "$result", | 132 "name": "$result", |
120 "recipe_result": { | 133 "recipe_result": { |
121 "test_me": 3 | 134 "test_me": 3 |
122 }, | 135 }, |
123 "status_code": 0 | 136 "status_code": 0 |
124 } | 137 } |
125 ] | 138 ] |
OLD | NEW |