Remove app deploy from "Deploy to Bitrise.io - Apps, Logs, Artifacts"

#1

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.

0 Likes

#2

Hi @coltonidle!

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.

0 Likes

#3

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.

0 Likes

#4

@bitce any help here by chance? Still having this issue. Let me know if I didn’t explain the problem correctly.

0 Likes

#5

Bumping this for visibility

0 Likes

#6

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. Gradle Runner.
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.

0 Likes

#7

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.

0 Likes

closed #8

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes