-
Bug
-
Resolution: Not A Defect
-
Critical
-
None
-
Jenkins 2.375.2, Windows Server 2016, git Client Plugin 4.10, 3.11 works fine.
After updated our Jenkins environemnt to 2.375.2 and updating all plugins our builds started failing with the below log.
Trying to run the commands in CMD showed that for the git.exe rev-parse --resolve command it would give the error "fatal: not a gitdir 'C:\Program", making me think that it did not like the space in the folder path.
I then revered the git client plugin from 4.1 back to 3.11 and this resolve my builds. I have not tried the 4.00 version as of this time.
git.exe rev-parse --resolve-git-dir C:\Program Files (x86)\Jenkins\workspace\HPRO QA\.git # timeout=10
Fetching changes from the remote Git repository
> git.exe config remote.origin.url git@bitbucket.org:REMOVED.git # timeout=10
ERROR: Error fetching remote repo 'origin'
Caused by: hudson.plugins.git.GitException: Command "git.exe config remote.origin.url git@bitbucket.org:REMOVED.git" returned status code 128:
stdout:
stderr: fatal: not in a git directory
- is related to
-
JENKINS-70534 git plugin not cloning properly since monday(30 Jan 2023)
- Closed