Hi!
I created an automatic deploy with bitbucket pipelines. Process works but it gets stuck forever at the end pulling from the remote repository and throwing no errors.
Community moderators have prevented the ability to post new answers.
Hey @GedBitcucket
Welcome to the community!
It's hard to troubleshoot without an error log, so I suggest you use the following git verbose commands to get more logging:
If you use HTTPS:
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 <git command_here>
If you use SSH:
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" <git command>
These commands will generate more verbose commands that you can use to identify why the commands froze.
Cheers,
Syahrul
Thanks @Syahrul
Finally I saw the issue. A passphrase prompt was launched after git pull command in my deploy script. So I used sshpass in order to detect it and give automatic response :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.