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

how to use scp deploy in bitbucket pipeline

nexus_hardik June 17, 2019

Hello Guys

 

I need to real time example how i can use  scp deploy step by step from beginning

my bitbucket pipeline code as below

 

- pipe: atlassian/scp-deploy:0.3.3
variables:
USER: $USER
SERVER: $SERVER
REMOTE_PATH: '/var/www/html/demo1'
LOCAL_PATH: $BITBUCKET_CLONE_DIR
EXTRA_ARGS: '-p 22622'
SSH_KEY: $MYKEY

 

Above code working perfect fine now but have once issue like below

 

 deployment success then there is one folder create name like build on remote path then it will clone particular repo in build folder.

 

how to resolved this.

1 answer

1 accepted

0 votes
Answer accepted
mwatson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 18, 2019
nexus_hardik June 19, 2019

Hello Matthew Watson

 

Yes have same problem and it is resolved now.

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events