-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
git-plugin 2.3.5
git-client-plugin 1.17.1
git on slave 2.4.6
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-20941 Stored git credentials not used when submodule is updated
-
- Closed
-
-
JENKINS-22855 SSH Credential's username isn't used.
-
- Closed
-
[JENKINS-29604] git-client CLI implementation does not propogate username
Assignee | Original: Nicolas De Loof [ ndeloof ] | New: Manoj Kumar [ manojoshi ] |
Link |
New:
This issue duplicates |
Assignee | Original: Manoj Kumar [ manojoshi ] | New: Jacob Keller [ jekeller ] |
Summary | Original: git plugin submodule does not propogate credentials and username | New: git-client CLI implementation does not propogate username |
Component/s | New: git-client-plugin [ 17423 ] | |
Component/s | Original: git-plugin [ 15543 ] |
Could you further explain what you mean when you say:
Does that mean that you're not using the Jenkins credentials system to manage the credentials for the git repository? If not, why not?
If that is not what it means, can you please explain further?