1[ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n" 7 ], 8 "name": "get swarming bot id", 9 "~followup_annotations": [ 10 "@@@STEP_LOG_LINE@python.inline@import os@@@", 11 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@", 12 "@@@STEP_LOG_END@python.inline@@@" 13 ] 14 }, 15 { 16 "cmd": [ 17 "python", 18 "-u", 19 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n" 20 ], 21 "name": "get swarming task id", 22 "~followup_annotations": [ 23 "@@@STEP_LOG_LINE@python.inline@import os@@@", 24 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@", 25 "@@@STEP_LOG_END@python.inline@@@" 26 ] 27 }, 28 { 29 "cmd": [], 30 "name": "show", 31 "~followup_annotations": [ 32 "@@@SET_BUILD_PROPERTY@build_dir@\"[START_DIR]\\\\build\"@@@", 33 "@@@SET_BUILD_PROPERTY@builder_cfg@\"{'cpu_or_gpu_value': 'GTX660', 'arch': 'x86_64', 'test_filter': 'All', 'cpu_or_gpu': 'GPU', 'role': 'Test', 'model': 'ShuttleA', 'configuration': 'Debug', 'os': 'Win10', 'compiler': 'MSVC'}\"@@@", 34 "@@@SET_BUILD_PROPERTY@builder_name@\"Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-All\"@@@", 35 "@@@SET_BUILD_PROPERTY@cache_dir@\"[START_DIR]\\\\cache\"@@@", 36 "@@@SET_BUILD_PROPERTY@default_env@\"{'PATH': '%(PATH)s;RECIPE_REPO[depot_tools]', 'CHROME_HEADLESS': '1'}\"@@@", 37 "@@@SET_BUILD_PROPERTY@extra_tokens@\"[]\"@@@", 38 "@@@SET_BUILD_PROPERTY@internal_hardware_label@\"None\"@@@", 39 "@@@SET_BUILD_PROPERTY@is_internal_bot@\"False\"@@@", 40 "@@@SET_BUILD_PROPERTY@is_linux@\"False\"@@@", 41 "@@@SET_BUILD_PROPERTY@is_trybot@\"True\"@@@", 42 "@@@SET_BUILD_PROPERTY@issue@\"456789\"@@@", 43 "@@@SET_BUILD_PROPERTY@patch_storage@\"gerrit\"@@@", 44 "@@@SET_BUILD_PROPERTY@patchset@\"12\"@@@", 45 "@@@SET_BUILD_PROPERTY@role@\"Test\"@@@", 46 "@@@SET_BUILD_PROPERTY@swarming_out_dir@\"[START_DIR]\\\\[SWARM_OUT_DIR]\"@@@", 47 "@@@SET_BUILD_PROPERTY@tmp_dir@\"[START_DIR]\\\\tmp\"@@@", 48 "@@@SET_BUILD_PROPERTY@workdir@\"[START_DIR]\"@@@" 49 ] 50 }, 51 { 52 "name": "$result" 53 } 54]