Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

FileNotFoundError in bitbucket pipeline

sukhija0004 June 1, 2021

image.pngimage.pngimage.png

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 2, 2021

Hi @sukhija0004 ,

The second yml file that you posted in your reply seems to generate an 'application.tar.gz' file. However, this artifact cannot be used by the third step, because the steps are parallel.

Parallel steps cannot use artifacts produced by steps in the same parallel set. Since the steps are not running sequentially, the step using the artifact may start running before the artifact is generated by the second step.

I would suggest making the third step ('Deploy Code') a non-parallel step. Then, it should be able to use the artifact generated by 'Create artifact' step.

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

0 votes
sukhija0004 June 1, 2021

I already tried this code for artifactsimage.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events