Store artifacts destination does not match the path

Within your config file, you can opt to upload build artifacts using the store_artifacts key and specifying a path to upload.

These artifacts are then able to be downloaded on the artifacts tab or via the API. The download link in both cases is constructed of two parts, the first part of the URL is where we are hosting it:

https://output.circle-artifacts.com/output/job/db8a7ff3-3382-44ff-b50f-6cd2891e0ae4/artifacts/0

While the second part of the URL is the path you specified in the store_artifacts step:

~/project/app/test/app.txt

So altogether the URL would look something like:

https://output.circle-artifacts.com/output/job/db8a7ff3-3382-44ff-b50f-6cd2891e0ae4/artifacts/0/~/project/app/test/app.txt

However, if you had your store_artifacts step set to:

  - store_artifacts:
  	path: ../project/app/test

This would result in the destination path to implicitly strip all instances of .., resulting in the URL to be at https://output.circle-artifacts.com/output/job/db8a7ff3-3382-44ff-b50f-6cd2891e0ae4/artifacts/0/project/app/test

Was this article helpful?
3 out of 10 found this helpful

Comments

0 comments

Article is closed for comments.