| 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]", | |
| 8 "name": "hello" | 7 "name": "hello" |
| 9 }, | 8 }, |
| 10 { | 9 { |
| 11 "cmd": [ | 10 "cmd": [ |
| 12 "echo", | 11 "echo", |
| 13 "Why hello, there." | 12 "Why hello, there." |
| 14 ], | 13 ], |
| 15 "cwd": "[SLAVE_BUILD]", | |
| 16 "name": "hello (2)" | 14 "name": "hello (2)" |
| 17 }, | 15 }, |
| 18 { | 16 { |
| 19 "cmd": [ | 17 "cmd": [ |
| 20 "bash", | 18 "bash", |
| 21 "-c", | 19 "-c", |
| 22 "echo Good bye, $friend." | 20 "echo Good bye, $friend." |
| 23 ], | 21 ], |
| 24 "cwd": "[SLAVE_BUILD]", | |
| 25 "env": { | 22 "env": { |
| 26 "friend": "Darth Vader" | 23 "friend": "Darth Vader" |
| 27 }, | 24 }, |
| 28 "name": "goodbye" | 25 "name": "goodbye" |
| 29 }, | 26 }, |
| 30 { | 27 { |
| 31 "cmd": [ | 28 "cmd": [ |
| 32 "recipes.py", | 29 "recipes.py", |
| 33 "--help" | 30 "--help" |
| 34 ], | 31 ], |
| 35 "cwd": "[SLAVE_BUILD]", | |
| 36 "env": { | 32 "env": { |
| 37 "PATH": "RECIPE_PACKAGE_REPO[recipe_engine]:%(PATH)s" | 33 "PATH": "RECIPE_PACKAGE_REPO[recipe_engine]:%(PATH)s" |
| 38 }, | 34 }, |
| 39 "name": "recipes help" | 35 "name": "recipes help" |
| 40 }, | 36 }, |
| 41 { | 37 { |
| 42 "cmd": [ | 38 "cmd": [ |
| 43 "bash", | 39 "bash", |
| 44 "-c", | 40 "-c", |
| 45 "exit 3" | 41 "exit 3" |
| 46 ], | 42 ], |
| 47 "cwd": "[SLAVE_BUILD]", | |
| 48 "name": "anything is cool" | 43 "name": "anything is cool" |
| 49 }, | 44 }, |
| 50 { | 45 { |
| 51 "cmd": [ | 46 "cmd": [ |
| 52 "echo", | 47 "echo", |
| 53 "hello" | 48 "hello" |
| 54 ], | 49 ], |
| 55 "cwd": "[SLAVE_BUILD]", | |
| 56 "name": "hello (3)", | 50 "name": "hello (3)", |
| 57 "~followup_annotations": [ | 51 "~followup_annotations": [ |
| 58 "@@@STEP_LOG_LINE@the reason@The reason@@@", | 52 "@@@STEP_LOG_LINE@the reason@The reason@@@", |
| 59 "@@@STEP_LOG_LINE@the reason@it failed@@@", | 53 "@@@STEP_LOG_LINE@the reason@it failed@@@", |
| 60 "@@@STEP_LOG_END@the reason@@@", | 54 "@@@STEP_LOG_END@the reason@@@", |
| 61 "@@@STEP_EXCEPTION@@@" | 55 "@@@STEP_EXCEPTION@@@" |
| 62 ] | 56 ] |
| 63 }, | 57 }, |
| 64 { | 58 { |
| 65 "cmd": [], | 59 "cmd": [], |
| 66 "cwd": "[SLAVE_BUILD]", | |
| 67 "name": "Just print stuff", | 60 "name": "Just print stuff", |
| 68 "~followup_annotations": [ | 61 "~followup_annotations": [ |
| 69 "@@@STEP_LOG_LINE@more@More stuff@@@", | 62 "@@@STEP_LOG_LINE@more@More stuff@@@", |
| 70 "@@@STEP_LOG_END@more@@@" | 63 "@@@STEP_LOG_END@more@@@" |
| 71 ] | 64 ] |
| 72 }, | 65 }, |
| 73 { | 66 { |
| 74 "cmd": [ | 67 "cmd": [ |
| 75 "echo", | 68 "echo", |
| 76 "goodbye" | 69 "goodbye" |
| 77 ], | 70 ], |
| 78 "cwd": "[SLAVE_BUILD]", | |
| 79 "name": "goodbye (2)" | 71 "name": "goodbye (2)" |
| 80 }, | 72 }, |
| 81 { | 73 { |
| 82 "cmd": [ | 74 "cmd": [ |
| 83 "echo", | 75 "echo", |
| 84 "warning" | 76 "warning" |
| 85 ], | 77 ], |
| 86 "cwd": "[SLAVE_BUILD]", | |
| 87 "name": "warning" | 78 "name": "warning" |
| 88 }, | 79 }, |
| 89 { | 80 { |
| 90 "cmd": [ | 81 "cmd": [ |
| 91 "echo", | 82 "echo", |
| 92 "testa" | 83 "testa" |
| 93 ], | 84 ], |
| 94 "cwd": "[SLAVE_BUILD]", | |
| 95 "name": "testa" | 85 "name": "testa" |
| 96 }, | 86 }, |
| 97 { | 87 { |
| 98 "cmd": [ | 88 "cmd": [ |
| 99 "echo", | 89 "echo", |
| 100 "testb" | 90 "testb" |
| 101 ], | 91 ], |
| 102 "cwd": "[SLAVE_BUILD]", | |
| 103 "name": "testb" | 92 "name": "testb" |
| 104 }, | 93 }, |
| 105 { | 94 { |
| 106 "cmd": [ | 95 "cmd": [ |
| 107 "echo", | 96 "echo", |
| 108 "cleaning", | 97 "cleaning", |
| 109 "up", | 98 "up", |
| 110 "build" | 99 "build" |
| 111 ], | 100 ], |
| 112 "cwd": "[SLAVE_BUILD]", | |
| 113 "name": "cleanup" | 101 "name": "cleanup" |
| 114 }, | 102 }, |
| 115 { | 103 { |
| 116 "cmd": [ | 104 "cmd": [ |
| 117 "python", | 105 "python", |
| 118 "-c", | 106 "-c", |
| 119 "import sys; print sys.argv", | 107 "import sys; print sys.argv", |
| 120 "echo", | 108 "echo", |
| 121 "main", | 109 "main", |
| 122 "application" | 110 "application" |
| 123 ], | 111 ], |
| 124 "cwd": "[SLAVE_BUILD]", | |
| 125 "name": "application" | 112 "name": "application" |
| 126 }, | 113 }, |
| 127 { | 114 { |
| 128 "name": "$result", | 115 "name": "$result", |
| 129 "recipe_result": { | 116 "recipe_result": { |
| 130 "test_me": 3 | 117 "test_me": 3 |
| 131 }, | 118 }, |
| 132 "status_code": 0 | 119 "status_code": 0 |
| 133 } | 120 } |
| 134 ] | 121 ] |
| OLD | NEW |