Hello,
I am trying to build my android project through the bitbucket pipeline and use this built APK as an artifact inside another step to run my UI Automation tests on. Can anyone please inform me of the normal process or any useful documentation.
Thank you.
Hi @tarek_o
Thank you for reaching out to the community.
I believe that's already the normal process on how you can pass the built APK in another step on Pipelines using Artifacts.
In this process, you can also use multi-steps to pass your built artifact from one step to another:
Sample multi-steps:
pipelines:
default:
- step:
name: Build
script:
- #Your commands here
artifacts:
- app/build/outputs/**
- step:
name: UI Test
script:
- #Your commands here
You can also check out this blog that might help.
Hope it helps and let me know if you have further questions.
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to know you're able to find the Artifacts directory in the next step.
Regards,
Mark C
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.