代码拉取完成,页面将自动刷新
同步操作将从 腾讯蓝鲸智云/bk-sops 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Query a task node execution details
Field | Type | Required | Description |
---|---|---|---|
bk_app_code | string | YES | APP ID |
bk_app_secret | string | YES | APP Secret(APP TOKEN), which can be got via BlueKing Developer Center -> Click APP ID -> Basic Info |
bk_token | string | NO | Current user login token, bk_token or bk_username must be valid, bk_token can be got by Cookie |
bk_username | string | NO | Current user username, APP in the white list, can use this field to specify the current user |
Field | Type | Required | Description |
---|---|---|---|
bk_biz_id | string | YES | the business ID |
task_id | string | YES | the task ID |
node_id | string | YES | the node ID of task |
component_code | string | NO | the code of Standard Plugin, this field is required when query a Standard Plugin node |
subprocess_stack | string | NO | stack of SubProcess, format is json |
{
"bk_app_code": "esb_test",
"bk_app_secret": "xxx",
"bk_token": "xxx",
"bk_biz_id": "2",
"task_id": "10",
"node_id": "node0df0431f8f553925af01a94854bd"
"subprocess_stack": "[\"nodeaaa0ce51d2143aa9b0dbc27cb7df\"]",
"component_code": "job_fast_execute_script"
}
{
"message": "",
"data": {
"inputs": {
"job_account": "root",
"job_script_timeout": "",
"job_script_source": "manual",
"job_script_list_public": "",
"job_content": "echo 0\nexit 0",
"job_script_type": "1",
"job_script_param": "",
"job_script_list_general": "",
"job_ip_list": "127.0.0.1"
},
"retry": 0,
"name": "<class "pipeline.core.flow.activity.ServiceActivity">",
"finish_time": "2019-01-17 22:02:46 +0800",
"skip": false,
"start_time": "2019-01-17 22:02:37 +0800",
"children": {},
"histories": [],
"ex_data": null,
"elapsed_time": 9,
"outputs": [
{
"value": 407584,
"name": "task ID",
"key": "job_inst_id"
},
{
"value": "",
"name": "link",
"key": "job_inst_url"
},
{
"value": true,
"name": "result",
"key": "_result"
}
],
"state": "FINISHED",
"version": "23ac8c29f62b3337aafcf1f538d277f8",
"error_ignorable": false,
"id": "node0df0431f8f553925af01a94854bd",
"loop": 1
},
"result": true
}
Field | Type | Description |
---|---|---|
result | bool | true or false, indicate success or failure |
data | dict | data returned when result is true, details are described below |
message | string | error message returned when result is false |
Field | Type | Description |
---|---|---|
id | string | the unique ID of node |
start_time | string | start time of last execution |
finish_time | string | finish time of last execution |
elapsed_time | int | elapsed time of last execution |
state | string | execution status,CREATED,RUNNING,FAILED,NODE_SUSPENDED,SUSPENDED |
skip | bool | skipped manually |
retry | int | retry times |
inputs | dict | inputs parameters, format is key:value |
outputs | list | outputs info of this node,details are described below |
ex_data | string | failure detail of this node,format is json or HTML、string |
histories | list | retry records, details are described below |
Field | Type | Description |
---|---|---|
name | string | name of output variable |
value | string、int、bool、dict、list | value |
key | string | KEY |
preset | bool | where to display in Standard Plugins |
Field | Type | Description |
---|---|---|
start_time | string | start time |
finish_time | string | finish time |
elapsed_time | int | elapsed time |
state | string | execution status,CREATED,RUNNING,FAILED,NODE_SUSPENDED,SUSPENDED |
skip | bool | skipped manually |
retry | int | retry times |
inputs | dict | inputs parameters, format is key:value |
outputs | list | outputs info of this node,details are described below |
ex_data | string | failure detail of this node,format is json or HTML、string |
histories | list | retry records, details are described below |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。