Broken Pipe in own Runner with Pipe

Engin Yildirim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 27, 2023

I am using the following pipe at the end of my script everything until then works fine, then i am kinda stuck here for 10 mins and after that i get a broken pipe.

Afaik i registered the ssh key on the taget server and on bitbucket this runs fine, but not on my local runner. Does my local runner get all the ssh keys from bitbucket to connect correctly, or what could be the problem?

 

My Runner is running in a docker container on Linux.

 

- pipe: atlassian/sftp-deploy:0.5.12
variables:
USER: "USERNAME"
SERVER: "IPADRESS"
REMOTE_PATH: "DIRECTORY"
LOCAL_PATH: "dist/*"
DELETE_FLAG: "false"
EXTRA_ARGS: "-P PORTNUMBER"

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 30, 2023

Hi @Engin Yildirim

Welcome to the community.

To get more information from your Pipes script, you can add the variable DEBUG: 'true' so that you can troubleshoot it further.


Regarding SSH key, you should be able to use SSH keys using Linux Docker.

Could you check if you can connect to the server via a terminal/command prompt from your local machine?

Regards,
Mark C

Suggest an answer

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

Atlassian Community Events