30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
|
[
|
||
|
{
|
||
|
"cmd": [
|
||
|
"python",
|
||
|
"-u",
|
||
|
"\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
|
||
|
"[START_DIR]/tmp",
|
||
|
"511"
|
||
|
],
|
||
|
"infra_step": true,
|
||
|
"name": "makedirs tmp_dir",
|
||
|
"~followup_annotations": [
|
||
|
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
|
||
|
"@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
|
||
|
"@@@STEP_LOG_END@python.inline@@@"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "$result",
|
||
|
"reason": "Uncaught Exception: Exception('Cannot run update_meta_config recipe as a trybot',)",
|
||
|
"status_code": -1
|
||
|
}
|
||
|
]
|