My .lfsconfig contains:
$ cat .lfsconfig
url = http:// admin: admin123 @ localhost:8081/repository/kevin3-lfs/info/lfs
My default gitconfig contains:
c:\Program Files\Git\mingw64\etc>type gitconfig
helper = wincred
When I execute PUSH/PULL from a Git shell, I am not prompted for any credentials. That’s what I expected. When Jenkins executes a job it connects to NX using the admin account.
Now if I remove “admin:admin123@” from the http string in the .lfsconfig and set the Git credential.helper to wincred. I’m not prompted to enter credentials from the Git shell. Good. However, the Jenkins job just spins and eventually times out to abort because it can not authenticate to NXRM.
Is there a Jenkins/Nexus plugin available to configure an account to authenticate from Jenkins to the Nexus Git LFS repo so no user credentials aren’t exposed in the .lfsconfig file?