Building a subscription and releasing a preliminary version of Android apps in jenkins / hudson?

I have several applications with side projects at home, I installed the Jenkins installation to test them and build the APK, which I then transfer to my phone and play with it.

I want to publish some of them freely in the market, so I need to sign them with a certificate and prepare the final APK.

Can Jenkins do this? For example, can I create one build target that generates my APKs "in development", and also, so that this goal (or another) creates ready-made ready-made APK files?

Any tips?

+3
source share
3 answers

( ), "".

, -: ?

, - , , , , , , - .

, , :

  • : , " ". , .

  • , , https://jenkins-server/job/jobname/lastSuccessfulBuild/artifact/ : Hudson job1 2?

+5

Android ant . , , unsigned apk. , key.store, key.store.password key.alias, key.alias.password apks ant script. .

+5

Yes ... imho's easiest way is to automate it using the Maven Android Plugin. The sample project has the MorseFlash example that I wrote there, which includes the entire release process, including jarsigning, zipaligning and proguard, switching between development and production configuration, etc.

All this can be done on the command line and therefore on Hudson. Btw, if you're interested, I made presentations about Maven and Android, as well as testing and CI for Android on AnDevCon, and slides on my website. http://www.simpligility.com

+2
source

All Articles