| [ |
| { |
| "cmd": [], |
| "name": "check inputs", |
| "~followup_annotations": [ |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "", |
| "releases/targetbranch" |
| ], |
| "name": "check inputs.get target branch HEAD", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "import sys; sys.exit(1)" |
| ], |
| "name": "check inputs.target branch does not exist", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@target branch releases/targetbranch does not exist@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "Step('check inputs.target branch does not exist') (retcode: 1)" |
| }, |
| "name": "$result" |
| } |
| ] |