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_name@\"Upload-Test-Debian10-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN_Vulkan\"@@@",
34      "@@@SET_BUILD_PROPERTY@cache_dir@\"[START_DIR]/cache\"@@@",
35      "@@@SET_BUILD_PROPERTY@extra_tokens@\"['ASAN', 'Vulkan']\"@@@",
36      "@@@SET_BUILD_PROPERTY@internal_hardware_label@\"None\"@@@",
37      "@@@SET_BUILD_PROPERTY@is_internal_bot@\"False\"@@@",
38      "@@@SET_BUILD_PROPERTY@is_linux@\"True\"@@@",
39      "@@@SET_BUILD_PROPERTY@is_trybot@\"False\"@@@",
40      "@@@SET_BUILD_PROPERTY@issue@\"None\"@@@",
41      "@@@SET_BUILD_PROPERTY@patch_storage@\"gerrit\"@@@",
42      "@@@SET_BUILD_PROPERTY@patchset@\"None\"@@@",
43      "@@@SET_BUILD_PROPERTY@role@\"Upload\"@@@",
44      "@@@SET_BUILD_PROPERTY@swarming_out_dir@\"[START_DIR]/tmp\"@@@",
45      "@@@SET_BUILD_PROPERTY@tmp_dir@\"[START_DIR]/tmp\"@@@",
46      "@@@SET_BUILD_PROPERTY@workdir@\"[START_DIR]\"@@@"
47    ]
48  },
49  {
50    "name": "$result"
51  }
52]