• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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@\"{'frequency': 'Weekly', 'role': 'Housekeeper', 'extra_config': 'RecreateSKPs'}\"@@@",
34      "@@@SET_BUILD_PROPERTY@builder_name@\"Housekeeper-Weekly-RecreateSKPs\"@@@",
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@\"['RecreateSKPs']\"@@@",
38      "@@@SET_BUILD_PROPERTY@internal_hardware_label@\"None\"@@@",
39      "@@@SET_BUILD_PROPERTY@is_internal_bot@\"False\"@@@",
40      "@@@SET_BUILD_PROPERTY@is_linux@\"True\"@@@",
41      "@@@SET_BUILD_PROPERTY@is_trybot@\"False\"@@@",
42      "@@@SET_BUILD_PROPERTY@issue@\"None\"@@@",
43      "@@@SET_BUILD_PROPERTY@patch_storage@\"gerrit\"@@@",
44      "@@@SET_BUILD_PROPERTY@patchset@\"None\"@@@",
45      "@@@SET_BUILD_PROPERTY@role@\"Housekeeper\"@@@",
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]