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 best solutions below

1
Andy K On

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

enter image description here