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.shChecking out repositoriesCloning 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 rightsand the repository exists.
Why could this be happening?
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.