| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "import os\nprint(os.environ.get('SWARMING_BOT_ID', ''))\n" |
| ], |
| "name": "get swarming bot id", |
| "~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", |
| "~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@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "show", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@build_dir@\"[START_DIR]\\\\build\"@@@", |
| "@@@SET_BUILD_PROPERTY@builder_name@\"Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-All\"@@@", |
| "@@@SET_BUILD_PROPERTY@cache_dir@\"[START_DIR]\\\\cache\"@@@", |
| "@@@SET_BUILD_PROPERTY@extra_tokens@\"[]\"@@@", |
| "@@@SET_BUILD_PROPERTY@internal_hardware_label@\"None\"@@@", |
| "@@@SET_BUILD_PROPERTY@is_internal_bot@\"False\"@@@", |
| "@@@SET_BUILD_PROPERTY@is_linux@\"False\"@@@", |
| "@@@SET_BUILD_PROPERTY@is_trybot@\"True\"@@@", |
| "@@@SET_BUILD_PROPERTY@issue@\"456789\"@@@", |
| "@@@SET_BUILD_PROPERTY@patch_storage@\"gerrit\"@@@", |
| "@@@SET_BUILD_PROPERTY@patchset@\"12\"@@@", |
| "@@@SET_BUILD_PROPERTY@role@\"Test\"@@@", |
| "@@@SET_BUILD_PROPERTY@swarming_out_dir@\"[START_DIR]\\\\[SWARM_OUT_DIR]\"@@@", |
| "@@@SET_BUILD_PROPERTY@tmp_dir@\"[START_DIR]\\\\tmp\"@@@", |
| "@@@SET_BUILD_PROPERTY@workdir@\"[START_DIR]\"@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |