I have a shell script that checks out separate repository and makes changes to it.
That same script works fine when invoked via merge to development hook.
But when I try to run it using custom pipeline I get following error:
./script.sh
Checking out repositories
Cloning into 'my-repository'...
Warning: Permanently added the ECDSA host key for IP address 'x.x.x.x' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Why could this be happening?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.