OLD | NEW |
| (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 "echo", | |
56 "goodbye" | |
57 ], | |
58 "cwd": "[SLAVE_BUILD]", | |
59 "name": "goodbye (2)" | |
60 }, | |
61 { | |
62 "cmd": [ | |
63 "echo", | |
64 "testa" | |
65 ], | |
66 "cwd": "[SLAVE_BUILD]", | |
67 "name": "testa" | |
68 }, | |
69 { | |
70 "cmd": [ | |
71 "echo", | |
72 "testb" | |
73 ], | |
74 "cwd": "[SLAVE_BUILD]", | |
75 "name": "testb" | |
76 }, | |
77 { | |
78 "cmd": [ | |
79 "echo", | |
80 "cleaning", | |
81 "up", | |
82 "build" | |
83 ], | |
84 "cwd": "[SLAVE_BUILD]", | |
85 "name": "cleanup", | |
86 "~followup_annotations": [ | |
87 "step returned non-zero exit code: 1", | |
88 "@@@STEP_EXCEPTION@@@" | |
89 ] | |
90 }, | |
91 { | |
92 "cmd": [ | |
93 "python", | |
94 "test-wrapper.py", | |
95 "-v", | |
96 "--", | |
97 "echo", | |
98 "main", | |
99 "application" | |
100 ], | |
101 "cwd": "[SLAVE_BUILD]", | |
102 "name": "application" | |
103 }, | |
104 { | |
105 "name": "$final_result", | |
106 "reason": "Warning, robots approaching!", | |
107 "status_code": 1 | |
108 } | |
109 ] | |
OLD | NEW |