-
Bug
-
Resolution: Not A Defect
-
Blocker
-
None
Hi,
Recently, we have upgraded Jenkins to 2.414.1 and using the Git Plugin - 5.2.1.
Select "Accept first connection":
'Manage Jenkins' -> 'Security' -> 'Git Host Key Verification Configuration' -> "Accept first connection"
Go to Dashboard -> select any job that interacts with git repositories:
When selecting the git branch or trying to establish a connection:
The default value has been returned An error occurred while download data Command "git ls-remote -h -- git@git-test.com:sample/testing.git" returned status code 128:<br>stdout: <br>stderr: command-line line 0: unsupported option "accept-new". <br>fatal: Could not read from remote repository.<br><br>Please make sure you have the correct access rights<br>and the repository exists.<br> Please look at the Log Please check the configuration
Hitting the above issue, as per our requirement, we wanted to use 'Git Host Key Verification Configuration' -> "Accept first connection" only.
Can you please guide me on how to fix the issue, or is there a new version of the plugin?