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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

Pipeline step don't get Artifacts correctly when build setup starts

Hello I have problem with pipeline steps,


I'm try to distribute my .aab output with gradle and firebase

My pipeline.yaml has 4 steps to ditribute .aab to firebase

[step 1] prepare .gradle

[step 2] build debugAAB ( step2 -1 ) / build releaseAAB (step2 - 2) by parallel 

[step 3] distribute AAB with using gradle and firesbase 

[step 4] update versionCode for after uploading


I have prob with step 2 and step 3


I have to upload .aab so I added result of debugAAB's process. So Step2-1 artifacts like this,

스크린샷 2023-04-24 155751.png

and It has valid outputs in bfdrtDevDebug directory.

스크린샷 2023-04-24 155854.png


BUT on [step 3] , It's gonna empty.  I don't know reason why this happen.

[step 3]'s build setup donwload and extract bfdrtDevDebug, but when i using command ls to looking devAAB's output well in the directory. But it's empty


스크린샷 2023-04-24 160230.png스크린샷 2023-04-24 160306.png

please help me... I don't know why this situation happened.

I realize that each step can use artifacts of previous step. Am i understand wrong? 
why this one can't extract  [step2 -1 ]'s artifacts well? why it's extract result is empty?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 25, 2023

Hi @SeungHyun Cho _모바일개발그룹 AOS 팀_,

Can you please move the ls command that lists the files in the artifacts folder to the beginning of the script of step 3? (Make it the first command of step 3)

I can see from your screenshots that the artifacts folder is not empty, it gets extracted in the 3rd step and it has a size of 27.2 MB. The only possible reason for this issue that I can think of right now is that perhaps the content of the artifacts directory gets deleted before the ls command. I see that you are running ./gradlew --stop before the ls command, I am unsure if this command does anything that deletes this file.

Adding the ls command at the very beginning of the script of step 3 should give us more clarity.

Kind regards,

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 26, 2023

Hi @SeungHyun Cho _모바일개발그룹 AOS 팀_,

Thank you for the info.

Since the directory is empty at the beginning of the step, we would need to check the full build logs and your configuration in case I am missing something. I am not able to access your repo, but if we have a support ticket, the engineer working on the ticket will be able to access the repo and troubleshooting should be faster.

Would you like me to create a support ticket for you? You can also create it yourself via, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. Otherwise, feel free to let me know and I can create it for you.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events