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 4
Finished 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
options:
size: 2x # all steps in this repo get 8GB memory
pipelines:
default:
- step:
caches:
- node
script:
- 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
script:
- ls -R $BITBUCKET_CLONE_DIR
- pipe: atlassian/scp-deploy:0.3.11
variables:
USER: $USER
SERVER: $SERVER
REMOTE_PATH: $REMOTE_PATH
LOCAL_PATH: dist/*
SSH_KEY: $SSHKEY
DEBUG: 'true'
EXTRA_ARGS: $EXTRA_ARGS
Regards,
Vinycio
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,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The artifact is correct. I changed LOCAL_PATH: dist / * to LOCAL_PATH: 'dist / *', as shown in the documents, but the same problem occurred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.