Dlaczego nie mogę dodać adresu Git Url do mojego Jenkinsa?

Jestem bardzo nowa w git, a także Jenkins.

Dodałemssh klucze do bitbucketu i na mojej lokalnej maszynie, kiedy to robię:

git clone [email protected]:username/repo.git

Mogę się sklonować.

Ale kiedy dodaję ten sam adres URL ([email protected]:username/repo.git) do adresu repozytorium Jenkins otrzymuję następujący błąd:

Failed to connect to repository : Command "git ls-remote -h [email protected]:username/repo.git HEAD" returned status code 128:
stdout: 
stderr:  Permission denied (publickey). 
fatal: The remote end hung up unexpectedly

questionAnswers(1)

yourAnswerToTheQuestion