我正在尝试使用此更新管道定义API https://spinnaker-api.svc.k8s.pinadmin.com/swagger-ui.html#!/pipeline45controller/updatePipelineUsingPUT 我应该在管道参数中传递什么示例?
答案 0 :(得分:0)
您可以尝试“保存管道”阶段的示例-link。
类似的东西:
{
"name": "just waiting",
"description": "",
"parameterConfig": [],
"notifications": [],
"triggers": [],
"stages": [
{
"refId": "wait1",
"requisiteStageRefIds": [],
"type": "wait",
"waitTime": "420"
}
],
"expectedArtifacts": [],
"keepWaitingPipelines": false,
"limitConcurrent": true
}