Submodules should work. What happens if you do this locally: git clone git://the-url some-dir cd some-dir git submodule update
Cheers, Aravind On Wed, Aug 01, 2018 at 04:52:10 -0700, [email protected] wrote: > Hi, > I have a git repository with a single git submodule which goCD is not able > to clone. It gives the following error: > > pr|10:07:42.582 [GIT] Fetching changes > > pr|10:07:42.886 [GIT] Performing git gc > > pr|10:07:42.991 [GIT] Reset working directory pipelines/odoc-patient > > pr|10:07:42.991 [GIT] Cleaning all unversioned files in working copy > > pr|10:07:42.996 [GIT] Cleaning submodule configurations in .git/config > > pr|10:07:42.997 [GIT] Updating working copy to revision > > 7a54bc8dd6afa272d8c1dc793a4a7f871a500afa > > pr|10:07:43.016 HEAD is now at 7a54bc8 Commit name > > pr|10:07:43.016 [GIT] Removing modified files in submodules > > pr|10:07:43.030 [GIT] Updating git sub-modules > > &2|10:08:10.887 Error performing command: --- Command --- > > &2|10:08:10.887 git submodule update > > &2|10:08:10.887 --- Environment --- > > &2|10:08:10.887 {} > > &2|10:08:10.887 --- INPUT ---- > > &2|10:08:10.887 > > &2|10:08:10.887 > > &2|10:08:10.887 --OUTPUT --- > > &2|10:08:10.887 > > &2|10:08:10.887 --- ERROR --- > > &2|10:08:10.887 STDERR: Cloning into 'submodulename'... > > &2|10:08:10.887 STDERR: fatal: reference is not a tree: > > b79aacd45e81fadbb5a4f13009bd13f6a47d9958 > > &2|10:08:10.887 STDERR: Unable to checkout > > 'b79aacd45e81fadbb5a4f13009bd13f6a47d9958' in submodule path 'submodulename' > > &2|10:08:10.887 --- > > &2|10:08:10.887 > > ex|10:08:10.896 [go] Job completed odoc-patient/1/debugApk/1/defaultJob on > > ip [/home/ubuntu/soft/go-agent-17.10.0] > > > Is this a known issue or is there any workaround for submodules in goCD? > > Thanks a lot. > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
