I have the following pipeline-conf
- pipe: atlassian/scp-deploy:1.2.0
variables:
USER: 'hardcoded_username'
SERVER: 'hardcoded_servername'
REMOTE_PATH: '/home/xyz/client/build'
LOCAL_PATH: 'client/build/*'
DEBUG: 'true'
EXTRA_ARGS: ["-P", "12345"]
However it seems the runner is trying to connect to bitbucket.org instead of my server and than it seems to fail.
<span>Status: Downloaded newer image for bitbucketpipelines/scp-deploy:1.2.1</span>
<span>DEBUG: Starting new HTTPS connection (1): <a href="http://bitbucket.org:443/" rel="noopener noreferrer" target="_blank">bitbucket.org:443</a></span>
<span>DEBUG: <a href="https://bitbucket.org/" rel="noopener noreferrer" target="_blank">https://bitbucket.org:443</a> "GET /bitbucketpipelines/official-pipes/raw/master/pipes.prod.json HTTP/1.1" 200 None</span>
<span>INFO: Configuring ssh with default ssh key.</span>
<span>INFO: Adding known hosts...</span>
<span>INFO: Appending to ssh config file private key path</span>
<span>INFO: Applied file permissions to ssh directory.</span>
<span>usage: scp [-346ABCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file]</span>
<span>[-J destination] [-l limit] [-o ssh_option] [-P port]</span>
<span>[-S program] source ... target</span><span>✖ Deployment failed.</span>
Can anyone help me? Thanks a lot!