TROUBLESHOOTING

[TROUBLESHOOTING] ERROR in Jenkins 'Failed to connect to repository : Error performing git command: git ls-remote -h HEAD'

thovy 2022. 12. 10. 16:06
728x90
반응형
SMALL

ERROR ❌

Jenkins 에 git 소스를 넣으려할 때

이런 에러가 난다?

jenkins 가 설치된 os 에 git 이 설치되어 있지 않은 거다.

SOLUTION ✅

for AWS EC2

AWS EC2 라면 putty 에 접속해 sudo yum install git 을 설치해주자.

for WINDOWS OR MAC

WINDOSWS 나 MAC 이라면 git 홈페이지가서 설치해주자.

항상 멍청해지지 않도록 조심하자!

728x90
반응형
LIST