Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipeline gets stucked at pulling from repository

GedBitcucket November 5, 2022

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.

Captura de pantalla 2022-11-05 a las 13.08.42.png

1 answer

1 accepted

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2022

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

 

GedBitcucket November 7, 2022

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 :)

Like Syahrul likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events