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