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 "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 }, | 57 }, |
52 { | 58 { |
53 "cmd": [ | 59 "cmd": [ |
54 "echo", | 60 "echo", |
55 "testa" | 61 "testa" |
56 ], | 62 ], |
| 63 "cwd": "[SLAVE_BUILD]", |
57 "name": "testa", | 64 "name": "testa", |
58 "~followup_annotations": [ | 65 "~followup_annotations": [ |
59 "step returned non-zero exit code: 1", | 66 "step returned non-zero exit code: 1", |
60 "@@@STEP_FAILURE@@@" | 67 "@@@STEP_FAILURE@@@" |
61 ] | 68 ] |
62 }, | 69 }, |
63 { | 70 { |
64 "cmd": [ | 71 "cmd": [ |
65 "echo", | 72 "echo", |
66 "testb" | 73 "testb" |
67 ], | 74 ], |
| 75 "cwd": "[SLAVE_BUILD]", |
68 "name": "testb" | 76 "name": "testb" |
69 }, | 77 }, |
70 { | 78 { |
71 "name": "$final_result", | 79 "name": "$final_result", |
72 "reason": "You can catch step failures.", | 80 "reason": "You can catch step failures.", |
73 "status_code": 1 | 81 "status_code": 1 |
74 } | 82 } |
75 ] | 83 ] |
OLD | NEW |