Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

build an apk (v1 signature) using pipeline


Hello I already have the steps to build an apk using bitbucket pipelines, the problem I got is, I don't know how to specify how to sign it as V1, it seems the default is V2, here my yml file


image: androidsdk/android-30

- step:
name: Create Keystores
- mkdir keys # create new directory
- echo $DEBUG_KEYSTORE_FILE_BASE64 | base64 -d > keys/$DEBUG_KEYSTORE_FILE # decode base64 then use DEBUG_KEYSTORE_FILE as file name defined in repository variable
- keys/** # keep these artifacts for subsequent pipeline steps

- step:
name: Build & Deploy (Internal)
caches: # caching speed up subsequent execution
- gradle
# publish the aab file to the internal testing channel
# the plugin publishes to the internal testing track by default
- chmod +x gradlew
- app/build/outputs/** # artifacts are files that are produced by a step

  Where and how can I specify the V1 jar signature?

Thank you!!

1 answer

1 accepted

0 votes
Answer accepted

It's working now, I added the signing configs on my android build.gradle, that was the problem. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

211 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you