| 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_EXCEPTION@@@" | |
| 48 ] | |
| 49 }, | |
| 50 { | |
| 51 "cmd": [ | |
| 52 "echo", | |
| 53 "goodbye" | |
| 54 ], | |
| 55 "cwd": "[SLAVE_BUILD]", | |
| 56 "name": "goodbye (2)" | |
| 57 }, | |
| 58 { | |
| 59 "cmd": [ | |
| 60 "echo", | |
| 61 "testa" | |
| 62 ], | |
| 63 "cwd": "[SLAVE_BUILD]", | |
| 64 "name": "testa" | |
| 65 }, | |
| 66 { | |
| 67 "cmd": [ | |
| 68 "echo", | |
| 69 "testb" | |
| 70 ], | |
| 71 "cwd": "[SLAVE_BUILD]", | |
| 72 "name": "testb" | |
| 73 }, | |
| 74 { | |
| 75 "cmd": [ | |
| 76 "echo", | |
| 77 "cleaning", | |
| 78 "up", | |
| 79 "build" | |
| 80 ], | |
| 81 "cwd": "[SLAVE_BUILD]", | |
| 82 "name": "cleanup" | |
| 83 }, | |
| 84 { | |
| 85 "cmd": [ | |
| 86 "python", | |
| 87 "test-wrapper.py", | |
| 88 "-v", | |
| 89 "--", | |
| 90 "echo", | |
| 91 "main", | |
| 92 "application" | |
| 93 ], | |
| 94 "cwd": "[SLAVE_BUILD]", | |
| 95 "name": "application" | |
| 96 }, | |
| 97 { | |
| 98 "name": "$final_result", | |
| 99 "reason": "Warning, robots approaching!", | |
| 100 "status_code": 1 | |
| 101 } | |
| 102 ] | |
| OLD | NEW |