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

/pipe.sh: line 28: REMOTE_PATH: SSH_REMOTE_PATH variable missing.

Siddhant Pandey September 6, 2023

getting this problem during deployment of my pipeline test project can some one let me know what i am doing wrong here. i have inserted ssh publich key into my server and bitbucket as well i have created it on my local machine. and also generated fingerprint for know host using ip of my server. it is not working. 

4.png3.png2.png1.png

1 answer

1 accepted

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2023

Hello @Siddhant Pandey and welcome to the Community!

The error you received indicates that this pipe requires you to provide a variable named REMOTE_PATH containing the path in the remote server where you want to deploy the files.

I see in your pipe definition that you have configured a variable named PATH containing the destination folder of the deployment, but the pipe actually expects this information in a variable named REMOTE_PATH.

Following is an example of the pipe definition containing all the required variables : 

 - pipe: atlassian/rsync-deploy:0.9.0
    variables:
      USER: $DEPLOY_USER
      SERVER: $DEPLOY_SERVER
      REMOTE_PATH: '/var/www/build/'
      LOCAL_PATH: 'build'

You can try configuring the pipeline based on the example above and let us know how it goes.

Also, to check for the pipe's schema containing all the available variables (including required and optional ones), and examples of using that pipe, you can refer to its official documentation below:

Hope that helps! If you have any questions feel free to ask.

Thank you, @Siddhant Pandey !

Patrik S

Siddhant Pandey September 7, 2023

@Patrik S  thanks man it is working properly thank alot for helping me men.

Like Sabine Mayer likes this
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2023

Hey @Siddhant Pandey 

Happy to have been of some help :) 

If you ever need assistance with Bibtucket, feel free to reach out here on Community!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events