Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to deploy apk file to repository download using pipeline? when apk file is in gitignore folder

Taufik Fadlurahman Fajari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2022

I successfully deploy apk file when I try to exclude my apk file from gitignore, but can I deploy apk to repository download using pipeline?

2 answers

1 accepted

1 vote
Answer accepted
Julien Dephix
Contributor
October 7, 2022

If I understand correctly you want to be able to download the generated APK?
You can do so using artifacts. Here's how we do it with a Flutter app:

artifacts:
- build/app/outputs/flutter-apk/app-release.apk

You then get a tab at the top where you can get your file(s):

artifacts.jpg

Taufik Fadlurahman Fajari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 7, 2022

thanks, I finally found what I want to do

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 7, 2022

Hi @Taufik Fadlurahman Fajari . It's a good idea to use bitbucket-upload-file pipe.

script:
  - pipe: atlassian/bitbucket-upload-file:0.3.3
    variables:
      BITBUCKET_USERNAME: $BITBUCKET_USERNAME
      BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
      FILENAME: 'app-release.apk'

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events