• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "import os\nprint(os.environ.get('SWARMING_BOT_ID', ''))\n"
6    ],
7    "name": "get swarming bot id",
8    "~followup_annotations": [
9      "@@@STEP_LOG_LINE@python.inline@import os@@@",
10      "@@@STEP_LOG_LINE@python.inline@print(os.environ.get('SWARMING_BOT_ID', ''))@@@",
11      "@@@STEP_LOG_END@python.inline@@@"
12    ]
13  },
14  {
15    "cmd": [
16      "python",
17      "import os\nprint(os.environ.get('SWARMING_TASK_ID', ''))\n"
18    ],
19    "name": "get swarming task id",
20    "~followup_annotations": [
21      "@@@STEP_LOG_LINE@python.inline@import os@@@",
22      "@@@STEP_LOG_LINE@python.inline@print(os.environ.get('SWARMING_TASK_ID', ''))@@@",
23      "@@@STEP_LOG_END@python.inline@@@"
24    ]
25  },
26  {
27    "cmd": [],
28    "name": "show",
29    "~followup_annotations": [
30      "@@@SET_BUILD_PROPERTY@build_dir@\"[START_DIR]/build\"@@@",
31      "@@@SET_BUILD_PROPERTY@builder_name@\"Housekeeper-Weekly-RecreateSKPs\"@@@",
32      "@@@SET_BUILD_PROPERTY@cache_dir@\"[START_DIR]/cache\"@@@",
33      "@@@SET_BUILD_PROPERTY@extra_tokens@\"['RecreateSKPs']\"@@@",
34      "@@@SET_BUILD_PROPERTY@internal_hardware_label@\"None\"@@@",
35      "@@@SET_BUILD_PROPERTY@is_internal_bot@\"False\"@@@",
36      "@@@SET_BUILD_PROPERTY@is_linux@\"True\"@@@",
37      "@@@SET_BUILD_PROPERTY@is_trybot@\"False\"@@@",
38      "@@@SET_BUILD_PROPERTY@issue@\"None\"@@@",
39      "@@@SET_BUILD_PROPERTY@patch_storage@\"gerrit\"@@@",
40      "@@@SET_BUILD_PROPERTY@patchset@\"None\"@@@",
41      "@@@SET_BUILD_PROPERTY@role@\"Housekeeper\"@@@",
42      "@@@SET_BUILD_PROPERTY@swarming_out_dir@\"[START_DIR]/[SWARM_OUT_DIR]\"@@@",
43      "@@@SET_BUILD_PROPERTY@tmp_dir@\"[START_DIR]/tmp\"@@@",
44      "@@@SET_BUILD_PROPERTY@workdir@\"[START_DIR]\"@@@"
45    ]
46  },
47  {
48    "name": "$result"
49  }
50]