Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,669
Community Members
 
Community Events
165
Community Groups

PHP Laravel Pipeline: No Artifacts Uploaded

My artifacts is not uploaded after successful run of test pipeline. Here's the yml:

BitbucketPipe.jpg

here's the result

BitbucketPipe01.jpgBitbucketPipe02.jpg

what should the correct code for the artifact?

1 answer

0 votes

Hi @nymendaros,

I see two issues with the yml file you posted:

1st. The two steps are parallel. Parallel steps can only use artifacts produced by previous steps, not by steps in the same parallel set.

If you want the second step to use an artifact generated by the first step, you will need to remove the parallel keyword.


2nd. I'm afraid that the file path in artifacts cannot render variable names. We have a bug report about this in our issue tracker:

As a workaround, you can determine as an artifact any file with .zip extension as follows:

artifacts:
- "*.zip"

In case you have multiple zip files in the clone directory and you want to avoid having all of them uploaded as artifacts, you can generate this specific zip in a separate folder inside the clone directory, e.g. named 'app', and then define as an artifact any zip file in that directory

artifacts:
- app/*.zip

Please feel free to let me know how it goes and if you need further assistance.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,170 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you