| 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 "~followup_annotations": [ | 86 "~followup_annotations": [ |
| 97 "step returned non-zero exit code: 1", | 87 "step returned non-zero exit code: 1", |
| 98 "@@@STEP_FAILURE@@@" | 88 "@@@STEP_FAILURE@@@" |
| 99 ] | 89 ] |
| 100 }, | 90 }, |
| 101 { | 91 { |
| 102 "cmd": [ | 92 "cmd": [ |
| 103 "echo", | 93 "echo", |
| 104 "testb" | 94 "testb" |
| 105 ], | 95 ], |
| 106 "cwd": "[SLAVE_BUILD]", | |
| 107 "name": "testb" | 96 "name": "testb" |
| 108 }, | 97 }, |
| 109 { | 98 { |
| 110 "name": "$result", | 99 "name": "$result", |
| 111 "reason": "You can catch step failures.", | 100 "reason": "You can catch step failures.", |
| 112 "status_code": 1 | 101 "status_code": 1 |
| 113 } | 102 } |
| 114 ] | 103 ] |
| OLD | NEW |