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

Your Points Tracker
  • 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
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?
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

Pipeline with scp deploy

i received this error with scp pipeline,

Searching for files matching artifact pattern .bitbucket/pipelines/generated/pipeline/pipes/**

Searching for test report files in directories named [test-results, failsafe-reports, test-reports, surefire-reports] down to a depth of 4Finished scanning for test reports. Found 0 test report files.Merged test suites, total number tests is 0, with 0 failures and 0 errors.


I don't understand what is wrong, below is my bitbucket-pipelines.yml:

image: node:11

size: 2x # all steps in this repo get 8GB memory

    - step:
         - node
         - yarn
         - yarn test
         - yarn build
      artifacts: # defining the artifacts to be passed to each future step.
         - dist/**
   - step:
     name: Deploy to dev env
     deployment: Test
        - ls -R $BITBUCKET_CLONE_DIR
        - pipe: atlassian/scp-deploy:0.3.11
              USER: $USER
              SERVER: $SERVER
              LOCAL_PATH: dist/*
              SSH_KEY: $SSHKEY
              DEBUG: 'true'
              EXTRA_ARGS: $EXTRA_ARGS



2 answers

It looks like similar problems that were mentioned before, take a look here and here.

The artifact is correct. I changed LOCAL_PATH: dist / * to LOCAL_PATH: 'dist / *', as shown in the documents, but the same problem occurred

Can you show the full output of the pipeline log?
Are you sure you're having the problem with deployment step and not the test step? 
It clearly states it's looking for test artifacts.

Like urielmori97 likes this
0 votes

Hi Vinycio,

Like Radek, I would also like to ask if you could copy-paste here the full content of the Pipelines log file (*please sanitize* any private/sensitive info in the log file before sharing it) for the step that is failing with this error.

This way we have more info on the issue so we can better help you.

Kind regards,

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

485 views 5 4
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