Access secure file on Azure DevOps from pipeline when signing Android apk

0 votes

How to access .jks file stored in "Azure Secure Files" from "Azure Pipelines" while signing Android apk?

My idea is just to call gradlew assembleRelease to generate and sign apk on Azure Pipeline. Signing in gradle is configured like this:

    signingConfigs {
    register("release") {
        storeFile(file(System.getenv("APK_KEYSTORE")))
        storePassword(System.getenv("APK_KEYSTORE_PASSWORD"))
        keyAlias(System.getenv("APK_KEY_ALIAS"))
        keyPassword(System.getenv("APK_KEY_PASSWORD"))
    }
}

Can't access the APK_KEYSTORE file stored in "secured files" in Azure

What I've already tried and it works is this Android signing task, but I need signing and generating apk locally also, so I need this one example above

Mar 20 in Other DevOps Questions by Kichu
• 16,250 points
109 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
0 answers

How to get access token for Azure DevOps from Microsoft Teams app?

I integrated an MS Teams using tab with ...READ MORE

Mar 21 in Other DevOps Questions by Kichu
• 16,250 points
34 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,583 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP