错误:在通过Jenkins部署时找不到配置文件(PhoenixMVP)

时间:2017-10-26 13:59:01

标签: amazon-web-services jenkins

rm -rf ~/forcetest_deploy mkdir ~/forcetest_deploy && cp -r ./. ~/forcetest_deploy && rm -rf ~/forcetest_deploy/.ebextensions/https-redirect-python.config cd ~/forcetest_deploy/. && rm -rf .elasticbeanstalk cd ~/forcetest_deploy/. && eb init MyApp --profile PhoenixMVP --region='ap-south-1' && eb deploy && eb open ERROR: The config profile (PhoenixMVP) could not be found WARNING: Git is in a detached head state. Using branch "default". WARNING: Git is in a detached head state. Using branch "default". ERROR: This directory has not been set up with the EB CLI You must first run "eb init". WARNING: Git is in a detached head state. Using branch "default". WARNING: Git is in a detached head state. Using branch "default". ERROR: This directory has not been set up with the EB CLI You must first run "eb init". cd ~ && rm -rf ~/forcetest_deploy echo 'Test deployment successfull' Test deployment successfull Finished: SUCCESS

当我尝试通过笔记本电脑上运行的Jenkins工具部署我的应用程序时,我收到了上述错误。所有其他命令都在工作。 我正在使用Jenkins管道,我编写了部署脚本。

PhoenixMVP存在于.aws文件夹中,我可以在没有Jenkins的情况下部署。

这里有什么不对吗?如何在Jenkins中设置AWS密钥?

0 个答案:

没有答案