Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Whats wrong wiht my bitbucket-pipeline file?

Hello all

I'm setting up a pipeline with following yml:

image: maven:3.6.1

pipelines:
branches:
staging:
- step:
name: Build
caches:
- maven
script:
- mvn clean package -Ptest -Dmaven.test.skip=true
artifacts:
- '/opt/atlassian/pipelines/agent/build/target/**'

- step:
name: Deploy
#deployment: Test
script:
- pipe: atlassian/sftp-deploy:0.5.6
variables:
USER: $user
PASSWORD: $password
SERVER: $host
REMOTE_PATH: $remote_path
LOCAL_PATH: '/opt/atlassian/pipelines/agent/build/target/**'
DEBUG: 'true'

The build steps runs without errors, but the "Deploy" step shows:

.... some more debug entries
DEBUG: Executing echo "mput /opt/atlassian/pipelines/agent/build/target/*.jar" | sshpass -p $password sftp -o PubkeyAuthentication=no -rp -v $user@$host:$remote_path
+ sshpass -p $password sftp -o PubkeyAuthentication=no -rp -v $user@$host:$remote_pathOpenSSH_7.9p1, OpenSSL 1.1.1g 21 Apr 2020debug1: Reading configuration data /etc/ssh/ssh_configdebug1: Connecting to $host [$host] port $port.debug1: Connection established.debug1: identity file /root/.ssh/id_rsa type -1debug1: identity file /root/.ssh/id_rsa-cert type -1debug1: identity file /root/.ssh/id_dsa type -1debug1: identity file /root/.ssh/id_dsa-cert type -1debug1: identity file /root/.ssh/id_ecdsa type -1debug1: identity file /root/.ssh/id_ecdsa-cert type -1debug1: identity file /root/.ssh/id_ed25519 type -1debug1: identity file /root/.ssh/id_ed25519-cert type -1debug1: identity file /root/.ssh/id_xmss type -1debug1: identity file /root/.ssh/id_xmss-cert type -1debug1: Local version string SSH-2.0-OpenSSH_7.9debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002debug1: Authenticating to $host:$port as '$user'debug1: SSH2_MSG_KEXINIT sentdebug1: SSH2_MSG_KEXINIT receiveddebug1: kex: algorithm: curve25519-sha256debug1: kex: host key algorithm: ecdsa-sha2-nistp256debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug1: Server host key: ecdsa-sha2-nistp256 SHA256:SRlA0BflTfFlqjzyrb3r+8QT6FS+VeUY+NoDhr3wESc+ STATUS=6+ set -e+ [[ 6 == \0 ]]+ fail 'Deployment failed.'+ echo -e '\e[31m✖ Deployment failed.\e[0m'+ exit 6✖ Deployment failed.

What am I missing?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

366 views 2 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you