I have a pipeline that creates a Jeykll site but when I try and deploy this in a subsequent step it cannot find the artifact. Can anyone see what Im doing wrong.
I can see the artifact in the UI and download it from step 1,
error:
+ tar -xf dist/package-${BITBUCKET_BUILD_NUMBER}.tar.gz -C upload
tar: can't open 'dist/package-4.tar.gz': No such file or directory
pipeline.yml
Hi @stevew_cc and welcome to the community!
I think the culprit is that the two steps in your yml file are parallel. Parallel steps can only use artifacts produced by previous steps, not by steps in the same parallel set (this is documented here).
My suggestion would be to remove the parallel keyword from your yaml file. Then the artifacts produced during the first step should be available in the next step.
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.