can anyone provide me some kind of help i am going through
Hi @Siddhant Pandey!
I believe that the reason for the error you get is that you are using variables that do not exist in the pipe's definition. Please take a look at the REDAME file of this pipe's repo:
The variables provided there are the ones you can use with this pipe. If you add variables that do not exist in the pipe's definition, the pipe will not recognize them.
Specifically:
1. Instead of DEPLOY_USER, use USER
2. Instead of DEPLOY_SERVER, use SERVER
3. Instead of DEPLOY_PATH, use REMOTE_PATH
4. You can omit the variable SSH_USER
5. On the third screenshot you posted here, we can see that there is already an SSH key pair at the repo, from Repository settings > SSH keys. If you use this SSH key pair to connect to your server, there is no need to use the variable SSH_KEY. This is needed only if the SSH key pair is not added to Repository settings > SSH keys. You just need to ensure that the public SSH key is added to the ~/.ssh/authorized_keys on your server.
I would also recommend using the latest version of the pipe, 0.9.0, as 0.2.0 is an old version.
You can try a definition as follows:
- pipe: atlassian/rsync-deploy:0.9.0
variables:
USER: $DEPLOY_USER
SERVER: $DEPLOY_SERVER
REMOTE_PATH: $DEPLOY_PATH
LOCAL_PATH: '.'
Please feel free to let me know how it goes and if you need further assistance.
Kind regards,
Theodora
First of all i wanna thank you for responding on my query. I will do what the changes you have suggested. Thankyou
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome! Please feel free to reach out if you need anything further!
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.