thii / aws-codebuild-extras

Add extra information of your AWS CodeBuild build via environment variables.
150 stars 115 forks source link

Any chance to get working with CodePipeline? #9

Closed oscaraparicio77 closed 5 years ago

oscaraparicio77 commented 5 years ago

The variables are empty when i use the .sh file.

I obtain this error:

fatal: not a git repository (or any parent up to mount point /codebuild) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Thanks for this project

oscaraparicio77 commented 5 years ago

The problem is Codepipeline at the moment to create source artifact for Codebuild, don't save .git directory, adding a git clone to builspec.yml your script works, nice work!!

bilics commented 3 years ago

Hi! @oscaraparicio77

I am having the same problem - what exactly did you add to the buildspec.yml ?

Thanks!