我正在尝试使用AWS Source,CodeBuild和CodeDeploy(管道流程)设置CI-CD。现在,我陷于部署步骤。单独CodeDeploy
可以正常工作,但是如果我使用带有树状步骤的管道,例如(source-> codebuild-> codedeploy)会出错
scripts/install_dependencies
Script does not exist at specified location: /opt/codedeploy-agent/deployment-root/492e547b-60d1-4304-906c-0cf6784e906a/d-6Z0CFIDSZ/deployment-archive/scripts/install_dependencies
codedeploy-agent.log
2019-05-15 03:53:09错误[codedeploy-agent(531)]:InstanceAgent :: Plugins :: CodeDeployPlugin :: CommandPoller:执行期间出错:InstanceAgent :: Plugins :: CodeDeployPlugin :: ScriptError-脚本在指定位置不存在:/opt/codedeploy-agent/deployment-root/492e547b-60d1-4304-906c-0cf6784e906a/d-XTTKE28SZ/deployment-archive/scripts/start_server.sh-/ opt / codedeploy-agent / lib /instance_agent/plugins/codedeploy/hook_executor.rb:119:在“执行中的块(2个级别)”中
答案 0 :(得分:0)
转到您的AWS控制台,然后通过CodeDeploy应用程序手动运行部署。一旦遇到这种情况,即使文件存在。