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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
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.