-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins ver. 2.46.2
Git client plugin 2.7.1
Git plugin 3.7.0
and all related dependencies have been successfully installed as per attached screenshot.
Git version on the RedHat node is 2.12.2
Bitbucket v4.14.2
When setting in Jenkins, into Job->Configuration->SourceCodeManagement->Git->RepositoryURL the following line: ssh://git@myserver.mydomain:port.myrepository.git
I have following error displayed below immediatly in red by the Jenkins Git Plugin:
Failed to connect to repository : Error performing command: git ls-remote -h ssh://git@myserver.mydomain:port.myrepository.git HEAD
The git.exe ls-remote <repo url> command also works correctly from git bash of the node and Git is in the path and its path is specified into tools in the node configuration; besides my permissions are set correctly and the clone of this repository works correctly so, it should be a bug with the Git Plugin.