In an Android project, this step is deploying my apk. I want to still deploy my logs and other artifacts (lint results), but not the apk files. I have another step that sends them to MS AppCenter.
Can you please explain what are you trying to achieve in more detail and what is the problem? If you send us a build log as an example, thatt would be great.
I created a new android app/project in Bitrise.
By default it has a deploy step (called “Deploy to Bitrise.io - Apps, Logs, Artifacts”). In this step it deploys/hosts my apk in some “bitrise cloud” (I don’t know what else to call it). Along with the apk, it also hosts my other build outputs (like lint.html) in this “bitrise cloud”.
I added a new step to deploy to MS App Center, after “Deploy to Bitrise.io - Apps, Logs, Artifacts”.
Now I have an apk in two places. 1 in my MS App Center, and 1 in the bitrise cloud. I would like to remove sending my apk to bitrise cloud WHILE keeping my lint.html in the bitrise cloud.
@bitce any help here by chance? Still having this issue. Let me know if I didn’t explain the problem correctly.
Bumping this for visibility
Deploy to bitrise.io step deploys everything which is located in deploy dir (by default
$BITRISE_DEPLOY_DIR) APKs are copied there by appropriate steps eg.
So you need to ensure that APK is not present in deploy dir at the time of executing deploy to bitrise.io step.
Depending on your workflow and dependencies between steps you may for example move deploy to AppCenter step (assuming it also uses the same mechanism) before deploy to bitrise.io and insert a script step removing APKs in between them.
Darn. That sounds doable but kind of hacky and fragile. I was really hoping there was some option I was missing. I guess I can just fill out a feature request for the “Deploy to Bitrise” step and I might have some more luck there.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.