2015-12-09 48 views
1

我试图通过AWS CodeDeploy进行部署。但是,它总是会在以下错误之前失败。AWS CodeDeploy - appspec.yml找不到

没有这样的文件或目录 - /opt/codedeploy-agent/deployment-root/xxxxx/xxxxxx/deployment-archive/appspec.yml

的ZIP文件,我在S3已加载bucket在这里遵循定义的结构。

|--content (subfolder) 
    | |--myTextFile.txt 
    | |--mySourceFile.rb 
    | |--myExecutableFile.exe 
    | |--myInstallerFile.msi 
    | |--myPackage.rpm 
    | |--myImageFile.png 
    |--scripts (subfolder) 
    | |--myShellScript.sh 
    | |--myBatchScript.bat 
    | |--myPowerShellScript.ps1 
    |--appspec.yml 

我真的搞不清楚是怎么回事。任何帮助将不胜感激。

+0

对于另一种可能的解决方案,也看到我的回答http://stackoverflow.com/questions/38740298 /詹金斯 - 触发的代码 - 部署 - 是 - 失败 - 在-applicationstop步偶数虽然-SAM/38770917#38770917 –

回答

相关问题