Freunde, ich bekomme immer den folgenden Fehler in Jenkins Konsole.Probleme beim Verbinden mit Git Server über Jenkins
"Failed to connect to repository : Command "git -c core.askpass=true ls-remote -h ssh://[email protected]:29418/mobile HEAD" returned status code 128:
stdout:
stderr: Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists."
Alle Optionen im Internet versucht. Nichts hat geklappt. Schätzen Sie Ihre Hilfe hier
komplette Log Hier
Building in workspace /Users/Shared/Jenkins/GIT
Cloning the remote Git repository
Cloning repository ssh://[email protected]:29418/mobile
> git init /Users/Shared/Jenkins/GIT # timeout=10
Fetching upstream changes from ssh://[email protected]:29418/mobile
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress ssh://[email protected]:29418/mobile +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress ssh://[email protected]:29418/mobile +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Danke, Madhav
ich .ssh Ordner und war in der Lage zu verbinden schaffen tat zu GIT über die Eingabeaufforderung (Terminal). Ich benutze OS X BTW –
Können Sie den Repo auf Ihrem lokalen System ohne Jenkins mit ssh klonen? –
Absolut. es tut. Aber manchmal muss ich diesen Befehl ausführen/n ssh-add .ssh/id_rsa/n, damit der Klonbefehl funktioniert Nur Problem über Jenkins –