We have jenkins Windows 10 CI builder.
Our project has submodule, which I want to "git submodule update --init --recursive".
This command is called from cmake script, but even if one enables submodule processing the error will be the same:
C:Program FilesGitmingw64/libexec/git-coregit-submodule cannot be used without a working tree.
Current setup copies all files of project from Ubuntu jenkins is run on( the setup is not known for sure and I started studying Jenkins from bottom ) and puts them into Windows CI builder into Pull_Request_Builder_Winx64 folder.
Tried to run git manually from this folder: result is the same
Tried running update manually on the same project that is downloaded with git clone, it works.
Please help find the source of the issue, thanks in advance
question from:
https://stackoverflow.com/questions/65882520/jenkins-windows-10-git-submodule-cannot-be-used-without-a-working-tree 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…