GitLab
-
[Jenkins] gitlab authentication error: fatal: Authentication failed for http://~CICD 2022. 2. 10. 14:54
Jenkins에서 Gitlab repo를 pull 받아와서 build 하려고 하는데 authentication error가 났다. terminal에서 pull을 해보면 login을 하라고 나오고 해당 gitlab repo 아이디와 비밀번호를 치면 정삭적으로 pull 이 되는데 Jenkins에서 Git pull을 하면 login을 해줄 수 없기 때문에 다음과 같은 에러가 난다. Warning: CredentialId "root" could not be found. Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- http://192.168.158.12:9000/teespace/teespace-..