-
Bug
-
Resolution: Fixed
-
Critical
-
None
Hello,
I have successfully signed an Android unsigned apk using the Android Signing Plugin using the following pipeline script. However, my project has multiple flavors and I would like to sign each of them with a different keystore. I could not find the approach to sign multiple apks with different keystores in a single Jenkins pipeline job. Any help would be very much appreciated.
{{ // ... steps to build unsigned APK ... signAndroidApks ( keyStoreId: "myApp.signerKeyStore", keyAlias: "myTeam", apksToSign: "*/-unsigned.apk" // you can override these within the script if necessary // androidHome: env.ANDROID_HOME // zipalignPath: env.ANDROID_ZIPALIGN )}}