Hello,
I'm writing a pipeline with scp-deploy and the pipeline is working fine if my executable is not on the server. However if it is already there my pipeline fails. Do I have to remove the file before deploying ?
Pipeline:
Error if the executable is on the server already:
Possibly because /home/ubuntu/fago is read only? Can change the permissions before copying, or `atlassian/ssh-run` and change the permissions remotely only, or use rsync instead?
Thanks for replying. I tried with rsync and it's working now whether the executable is on the server or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yohan Le Bricquer Hi.
Thanks for your question.
Try to run scp without pipe usage to understand the problem is with the pipe or with the scp command.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.