AWS Codepipeline python submodule manual build works pipeline auto trigger giving error GIT_DISCOVERY_ACROSS_FILESYSTEM not set

31 views Asked by At

Triggering manual build works, but codepipeline based builds are giving the GIT_DISCOVERY_ACROSS_FILESYSTEM error

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

Tried setting up env variables but not working.

1

There are 1 answers

1
Andy K On

enter image description hereSetting pipeline source step to below(full clone instead of CodePipeline default) worked,

enter image description here