如何从客户端启动 AWS Codepipeline?
How do I start AWS Codepipeline from client?
我已经构建了一个 AWS CDK 代码管道,它在每次 git 提交时触发构建,但我想触发构建抛出客户端函数,谁能指导我如何触发启动管道函数抛出客户端。
您可以使用 AWS CLI 手动启动管道,同样可以通过 API 调用。
aws codepipeline start-pipeline-execution --name MyFirstPipeline
或者,您可以在 CodePipeline 中添加审核按钮。
发件人:Manage approval actions in CodePipeline
In AWS CodePipeline, you can add an approval action to a stage in a
pipeline at the point where you want the pipeline execution to stop so
that someone with the required AWS Identity and Access Management
permissions can approve or reject the action.
我已经构建了一个 AWS CDK 代码管道,它在每次 git 提交时触发构建,但我想触发构建抛出客户端函数,谁能指导我如何触发启动管道函数抛出客户端。
您可以使用 AWS CLI 手动启动管道,同样可以通过 API 调用。
aws codepipeline start-pipeline-execution --name MyFirstPipeline
或者,您可以在 CodePipeline 中添加审核按钮。
发件人:Manage approval actions in CodePipeline
In AWS CodePipeline, you can add an approval action to a stage in a pipeline at the point where you want the pipeline execution to stop so that someone with the required AWS Identity and Access Management permissions can approve or reject the action.