I have a Jenkins server (2.0 Beta-2) running on Windows 2012 R2 x64 with a new build configured to get the source files from TFS GIT (2013). I have already installed the version of GIT for Windows provided by Microsoft - which claims to solve the authentication problem between the GIT CLI and TFS GIT.
My.gitconfig looks like this:
[credential] helper = manager interactive = never validate = false integrated = true
Jenkins runs under a service account without an interactive session. This service account is a member of the local Administrators group on the build server and is correctly configured as a contributor to TFS. The problem here is that when the Jenkins build starts, it freezes during the following command:
git.exe -c core.askpass=true fetch --tags --progress http://my.tfs.server:8080/tfs/collection/_git/MyProject +refs/heads/*:refs/remotes/origin/*
It seems to me that it is stuck asking for credentials, although I installed it to use git-credential-manager. I also tried to save the service account credentials using the "store" command from GCM, but it fails with an unusual error (the syntax for use is rather confusing, so it's possible that I'm doing something wrong, but by trying it).
source share