Need help - issue with GIT Submodule

33 views
Skip to first unread message

IXI

unread,
Aug 20, 2019, 1:36:21 AM8/20/19
to go-cd
Hi,

I have issue in GoCD with GIT Submodule. So we have one repository with one connected submodule.

After run the pipeline, GoCD shows this error:

Error performing command: --- Command ---
git submodule
foreach --recursive "git checkout ."
--- Environment ---
{}
--- INPUT ----
 
 
--- EXIT CODE (128) ---
--- STANDARD OUT ---
Entering 'regresion_tests/RobotFW-POC-submodule'
--- STANDARD ERR ---
STDERR
: error: pathspec '.' did not match any file(s) known to git
STDERR
: fatal: run_command returned non-zero status for regresion_tests/RobotFW-POC-submodule
STDERR
: .
---

Git Version: 2.23.0.windows.1
GoCD version: 19.8.0 (9657-1b6ae115c9931430375f73eb22ad7975d8dfefbd).

Please help. Should I try to install for example older version of GIT or GoCD?

Petr IXI

Aravind SV

unread,
Aug 21, 2019, 3:18:54 PM8/21/19
to go...@googlegroups.com
Hello Petr,

Can you open a GitHub issue please? With more information such as the contents of the .gitmodules file.

Cheers,
Aravind

On Mon, Aug 19, 2019 at 22:36:20 -0700, IXI wrote:
> Hi,
>
> I have *issue in GoCD with GIT Submodule*. So we have one repository with
> one connected submodule.
>
> After run the pipeline, GoCD shows this *error*:
>
> Error performing command: --- Command ---
> git submodule foreach --recursive "git checkout ."
> --- Environment ---
> {}
> --- INPUT ----
>
>
> --- EXIT CODE (128) ---
> --- STANDARD OUT ---
> Entering 'regresion_tests/RobotFW-POC-submodule'
> --- STANDARD ERR ---
> STDERR: error: pathspec '.' did not match any file(s) known to git
> STDERR: fatal: run_command returned non-zero status for regresion_tests/RobotFW-POC-submodule
> STDERR: .
> ---
>
> *Git Version: 2.23.0.windows.1*
> *GoCD version: 19.8.0 (9657-1b6ae115c9931430375f73eb22ad7975d8dfefbd).*
>
>
> Please help. Should I try to install for example older version of GIT or
> GoCD?
>
> Petr IXI
>
> --
> 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 go-cd+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/48b18801-03ee-444f-bc90-83dc835562b9%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages