如何在成功的Teamcity构建中部署到AWS Elastic Beanstalk [英] How to deploy to AWS Elastic Beanstalk on successful Teamcity build
问题描述
我想在构建成功时将Java应用程序(Liferay)从Teamcity部署到Beanstalk.我在网上找不到任何东西,请提出建议.
I want to deploy a java application(Liferay) to Beanstalk from Teamcity when a build succeeds. I can't find anything online, please suggest.
谢谢
推荐答案
以下是PHP的示例,但是您可以将其与其他任何平台一起使用(通过CLI): http://docs.aws.amazon.com/elasticbeanstalk/latest /dg/create_deploy_PHP_eb.sdlc.html
Here is an example for PHP, but you can use it with any other platform (via CLI): http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_PHP_eb.sdlc.html
UPD: 这是一个更好的方法: http://docs.aws.amazon.com/elasticbeanstalk /latest/dg/command-reference-eb.html . 只是命令行工具.您可以在TeamCity构建步骤中运行它.
UPD: Here is an even better way: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-reference-eb.html. Just command line tool. You can run it in TeamCity build step.
这篇关于如何在成功的Teamcity构建中部署到AWS Elastic Beanstalk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!