如何从 Jenkins Blue Ocean 部署到弹性 beantalk?

How to deploy to elastic beanstalk from Jenkins Blue Ocean?

我如何将 Jenkins 上的 awseb deploy plugin 集成到 Jenkins 蓝海上的声明性管道中?我正在寻找管道步骤的示例。

我最终使用这里的代码作为模板:https://github.com/hypothesis/deployment/blob/master/Jenkinsfile