I am trying to extract some documents from git using git clonejenkins as part of the process. The git clone works fine individually, but as part of jenkins, I am facing permission permission.
> echo "pw"| sudo git clone host@IP:git-repo
> Cloning into 'git-repo'...
Permission denied, please try again.
Permission denied, please try again.
Permission denied(publickey,password).
fatal: Failed to read from remote repository.
source
share