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,
and It has valid outputs in bfdrtDevDebug directory.
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
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?
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
it is empty now..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 https://support.atlassian.com/contact/#/, 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,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.