-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: git-client-plugin
-
Labels:None
-
Environment:git-plugin 2.3.5
git-client-plugin 1.17.1
git on slave 2.4.6
-
Similar Issues:
I add the advanced behavior for submodules, and it fails to clone, as the slave does not use the correct credentials or username to clone the submodule
In addition, just to clone the base project, I am forced to use the username@ format of the ssh protocol, because the project does not specify this user from the credentials.
It probably needs to be inserted into the commands on the git-client plugin, though I am not sure exactly how to do this. The work-around solution for this is to modify the ssh_config on the host such that it knows the correct username/port/credentials for that hostname, but this is not very useful if i have to go customize tens or hundreds of slaves.
- duplicates
-
JENKINS-22855 SSH Credential's username isn't used.
-
- Resolved
-
-
JENKINS-20941 Stored git credentials not used when submodule is updated
-
- Closed
-
I just tested this approach (and thank you for helping) - but I see the same problem.
I use git-bash, which on the command line works fine (even with submodules).
If you have other tricks or want help testing - let me know, I can support.