Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Jenkins 中,我想在构建成功时自动部署代码。我已经在 Jenkins 中安装了 aws code deploy 插件,但无法使用 Jenkins 进行配置。任何想法?
构建和安装插件后,您的项目需要进行一些简单的配置。
*打开你的项目配置
*在构建后操作部分中,选择“将应用程序部署到 AWS CodeDeploy”
*应用程序名称、部署组、部署配置和区域都是必需的选项。
*对于身份验证,有两种选择。任一选项都要求相关角色至少具有允许 codedeploy:* 和 s3:Put* 的策略。该插件将从 jenkins 实例中获取全局凭据。