I am using Git 2.8.1, Jenkins 1.642.4 and Windows Server 2012 R2 and trying to access a project hosted with Git through https using Git plugin 2.4.4.
After setting my repository URL Jenkins gives me the following error message:
Failed to connect to repository : Could not init C:\Windows\TEMP\hudsonblablabla
I have found several sources stating that this is due to not pointing Jenkins to the correct git location, like in this SO question however setting the absolute path to the git location has not fixed this issue for me.
Some of the paths I have already tried without luck:
C:\Program Files\Git\cmd\git
C:\Program Files\Git\cmd\git.exe
C:\Program Files\Git\bin\git
C:\Program Files\Git\bin\git.exe
C:\Program Files\Git\git-cmd
Am I using the wrong path or is the issue something else?