如何使用三角帆更新管道定义API

时间:2019-04-10 16:04:38

标签: spinnaker

我正在尝试使用此更新管道定义API https://spinnaker-api.svc.k8s.pinadmin.com/swagger-ui.html#!/pipeline45controller/updatePipelineUsingPUT 我应该在管道参数中传递什么示例?

1 个答案:

答案 0 :(得分:0)

您可以尝试“保存管道”阶段的示例-link

类似的东西:

{
  "name": "just waiting",
  "description": "",
  "parameterConfig": [],
  "notifications": [],
  "triggers": [],
  "stages": [
    {
      "refId": "wait1",
      "requisiteStageRefIds": [],
      "type": "wait",
      "waitTime": "420"
    }
  ],
  "expectedArtifacts": [],
  "keepWaitingPipelines": false,
  "limitConcurrent": true
}