I'm new to AWS CodePipeline and never had past experience with any continuous integration tool like Jenkins, etc. I have created a new AWS CodePipeline as AWS CodeCommit (Code repository) -> CodeBuild (not docker, and environment is NodeJS 7)-> AWS CodeDeploy. Everything is on AWS only. It is an Angular2 project which is running finally deployed on EC2 instances (Windows server 2008). From my local machine, I'm able to commit my code to AWS CodeCommit through active IAM user (Git access) and then I can see CodePipleline starts functioning where Source is fine (green in color) but next step i.e. Build fails (red in color). When I click on its details, I can see following error log :-
https://forums.aws.amazon.com/ 2016/12/23 18:21:16 Waiting for agent https://forums.aws.amazon.com/ 2016/12/23 18:21:36 Phase is DOWNLOAD_SOURCE https://forums.aws.amazon.com/ 2016/12/23 18:21:38 Phase complete: DOWNLOAD_SOURCE Success: false https://forums.aws.amazon.com/ 2016/12/23 18:21:38 Phase context status code: YAML_FILE_ERROR Message: YAML file does not exist https://forums.aws.amazon.com/ 2016/12/23 18:21:38 Runtime error (YAML file does not exist)
Can somebody please guide me on this error? I do not know what does this YAML file means. I googled but nothing relevant found in terms of my NodeJS Angular project.
Thank you, Vinod Kumar
When an action does not complete successfully in CodePipeline, the action fails and the pipeline pauses, halting the progression of your change through the pipeline.
Sign in to the AWS Management Console and open the CodePipeline console at http://console.aws.amazon.com/codesuite/codepipeline/home . The names of all pipelines associated with your AWS account are displayed. In Name, choose the name of the pipeline. Locate the stage with the failed action, and then choose Retry.
A stage might be a build stage, where the source code is built and tests are run. It can also be a deployment stage, where code is deployed to runtime environments. Each stage is made up of a series of serial or parallel actions.
The YAML file being referenced is the buildspec.yml file required by CodeBuild. More information can be found at http://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With