| 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 "~followup_annotations": [ | |
| 98 "step returned non-zero exit code: 1", | |
| 99 "@@@STEP_FAILURE@@@" | |
| 100 ] | |
| 101 }, | |
| 102 { | |
| 103 "name": "$result", | |
| 104 "reason": "Uncaught Exception: ValueError('goodbye must exit 0!',)", | |
| 105 "status_code": -1 | |
| 106 } | |
| 107 ] | |
| OLD | NEW |