I have the following failing step:
```
+ yarn install
yarn install v1.22.19
[1/4] Resolving packages...
error Package "" refers to a non-existing file '"/opt/atlassian/pipelines/agent/build/app/vendor/symfony/ux-turbo/assets"'.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Hi Theodora.
This is the output for Build teardown on the first step:
You already have a 'composer' cache so we won't create it again
Searching for files matching artifact pattern vendor/**
Searching for test report files in directories named [test-results, failsafe-reports, test-reports, TestResults, 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.
And the artifacts definition:
artifacts:
- vendor/**
Thank you.
Hi @QPV,
I think the issue may be with the path in the artifacts definition.
The output you posted in your question mentions the path
/opt/atlassian/pipelines/agent/build/app/vendor/symfony/ux-turbo/assets
So, the vendor directory is inside the app directory in the $BITBUCKET_CLONE_DIR.
Can you try the following definition instead?
artifacts:
- app/vendor/**
Or, in case you need everything under app, you can use the following:
artifacts:
- app/**
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.
Hi @QPV and welcome to the community!
Parallel steps cannot consume artifacts generated by steps in the same parallel set, so making the steps not parallel was correct.
Regarding the failure after you made this change:
1. Can you please open the build log of the step that generates the artifacts, expand the Build teardown section, and let us know what you see there?
This section mentions details about artifacts upload, so if there is any error it should be printed there.
2. What is the exact artifacts definition in your bitbucket-pipelines.yml file? Are you using a path relative to $BITBUCKET_CLONE_DIR?
An artifact definition accepts only paths relative to the $BITBUCKET_CLONE_DIR (this is the path in the Docker container where the repo gets cloned, /opt/atlassian/pipelines/agent/build/)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.