35 lines
897 B
JSON
35 lines
897 B
JSON
|
[
|
||
|
{
|
||
|
"cmd": [
|
||
|
"python",
|
||
|
"-u",
|
||
|
"import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
|
||
|
],
|
||
|
"name": "get swarming bot id",
|
||
|
"stdout": "/path/to/tmp/",
|
||
|
"~followup_annotations": [
|
||
|
"@@@STEP_LOG_LINE@python.inline@import os@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
|
||
|
"@@@STEP_LOG_END@python.inline@@@"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cmd": [
|
||
|
"python",
|
||
|
"-u",
|
||
|
"import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
|
||
|
],
|
||
|
"name": "get swarming task id",
|
||
|
"stdout": "/path/to/tmp/",
|
||
|
"~followup_annotations": [
|
||
|
"@@@STEP_LOG_LINE@python.inline@import os@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
|
||
|
"@@@STEP_LOG_END@python.inline@@@"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "$result",
|
||
|
"recipe_result": null,
|
||
|
"status_code": 0
|
||
|
}
|
||
|
]
|