流水线 CODEARTS PIPELINE-批量获取流水线状态:响应示例

时间:2023-11-28 18:59:45

响应示例

状态码: 200

OK

[ {
  "result" : "error",
  "status" : "completed",
  "stages" : [ {
    "result" : "success",
    "status" : "completed",
    "name" : "initial",
    "parameters" : null,
    "order" : 1,
    "dsl_method" : "initial",
    "display_name" : "源代码"
  }, {
    "result" : "success",
    "status" : "completed",
    "name" : "state_3",
    "parameters" : null,
    "order" : 2,
    "dsl_method" : "build",
    "display_name" : "构建"
  } ],
  "executor" : "devcloud_xxx",
  "pipeline_name" : "PipelineSvc测试勿删_继续执行",
  "pipeline_id" : "92a65e2337174fabbdbccda97ab7ffad",
  "detail_url" : "https://xxxxx",
  "modify_url" : "https://xxxxxx",
  "start_time" : "2022-09-09 00:00:00",
  "end_time" : "2022-09-09 00:00:24",
  "build_id" : "25"
} ]
support.huaweicloud.com/api-pipeline/BatchShowPipelinesStatus.html