I created a Pipeline that takes the code from a CodeCommit repository, builds it via CodeBuild and pushes the code to an S3 bucket.
For my Codebuild I'm using an AWS managed image. aws/codebuild/nodejs:7.0.0
If I start my build manually via the CodeBuild Console and specify the repository I get the repository URL when I run the following command in the buildspec
- printf ${CODEBUILD_SOURCE_REPO_URL}
but If the CodeBuild is triggered automatically by a push to a repository. CODEBUILD_SOURCE_REPO_URL returns nothing