我正在尝试使用AWS、CodeBuild和CodeDeploy(流水线处理)来设置CI.现在我被困在部署的步骤上了。单独的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错误代码部署-代理(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:in `块(2级)在执行中
发布于 2019-05-25 15:02:19
转到AWS控制台,通过CodeDeploy应用程序手动运行部署。一旦我遇到这种情况,即使文件存在。
https://stackoverflow.com/questions/56144857
复制相似问题