blob: ecb2db40684afeb2ee67e35e6f7425bc16f1ffa7 [file] [log] [blame]
[
{
"cmd": [
"echo",
"Hello World"
],
"name": "hello"
},
{
"cmd": [
"echo",
"Why hello, there."
],
"name": "hello (2)"
},
{
"cmd": [
"mkdir",
"-p",
"something"
],
"name": "mk subdir"
},
{
"cmd": [
"bash",
"-c",
"echo Why hello, there, in a subdir."
],
"cwd": "[START_DIR]/something",
"name": "something"
},
{
"cmd": [
"bash",
"-c",
"echo what happen"
],
"name": "start_dir ignored"
},
{
"cmd": [
"bash",
"-c",
"echo Good bye, $friend."
],
"env": {
"friend": "Darth Vader"
},
"name": "goodbye"
},
{
"cmd": [
"recipes.py",
"--help"
],
"env": {
"PATH": "RECIPE_REPO[recipe_engine]:<PATH>"
},
"name": "recipes help"
},
{
"cmd": [
"bash",
"-c",
"exit 3"
],
"name": "anything is cool"
},
{
"cmd": [
"echo",
"hello"
],
"name": "hello (3)",
"~followup_annotations": [
"@@@STEP_LOG_LINE@the reason@The reason@@@",
"@@@STEP_LOG_LINE@the reason@it failed@@@",
"@@@STEP_LOG_END@the reason@@@",
"@@@STEP_EXCEPTION@@@"
]
},
{
"cmd": [],
"name": "Just print stuff",
"~followup_annotations": [
"@@@STEP_LOG_LINE@more@More stuff@@@",
"@@@STEP_LOG_END@more@@@"
]
},
{
"cmd": [
"echo",
"goodbye"
],
"name": "goodbye (2)"
},
{
"cmd": [
"echo",
"warning"
],
"name": "warning"
},
{
"cmd": [
"echo",
"testa"
],
"name": "testa",
"~followup_annotations": [
"@@@STEP_FAILURE@@@"
]
},
{
"cmd": [
"echo",
"testb"
],
"infra_step": true,
"name": "testb",
"~followup_annotations": [
"@@@STEP_EXCEPTION@@@"
]
},
{
"failure": {
"humanReason": "2 out of 2 aggregated steps failed: Step('testa') failed with return_code 1, Infra Failure: Step('testb') returned 1"
},
"name": "$result"
}
]