0

I am trying to setup CI-CD using AWS Source, CodeBuild and CodeDeploy(process of pipeline). Right now I am stuck at the step of deploy. individually CodeDeploy is work fine but if i'm using pipeline with tree step like(source->codebuild->codedeploy) getting error this

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

for more understanding:- enter image description here

codedeploy-agent.log

2019-05-15 03:53:09 ERROR [codedeploy-agent(531)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Error during perform: InstanceAgent::Plugins::CodeDeployPlugin::ScriptError - Script does not exist at specified location: /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 `block (2 levels) in execute'

Abhishek
  • 1,742
  • 2
  • 14
  • 25
  • @jogold can you help me? – Abhishek May 15 '19 at 11:37
  • Have you browsed to `/opt/codedeploy-agent/deployment-root/492e547b-60d1-4304-906c-0cf6784e906a/d-XTTKE28SZ/deployment-archive/scripts/` to see what is or isn't there? Note that this is where your deployment scripts are run from - not from the eventual location your code is deployed to – jameslol May 19 '19 at 02:41

1 Answers1

0

Go to your AWS console and run the deployment manually through CodeDeploy application. Once I met this scenario even though file existed.