Last modified: 2014-05-29 20:41:31 UTC
The Android app moved from GitHub to Gerrit (https://git.wikimedia.org/summary/apps%2Fandroid%2Fcommons.git). CI should now trigger on merges on Gerrit rather than commits on GitHub :)
Moved under continuous integration. Need to: - figure out a template for Jenkins job builder - add the generated job to Zuul configuration and have it triggered on change merged. - rethink the publishing of the build apk, that is current a hacky inline shell script
Jenkins job is https://gerrit.wikimedia.org/r/#/c/68566/ , to be applied, it requires a change to Jenkins Job Builder which I have submitted upstream https://review.openstack.org/#/c/32965/ I have generated the job and added the Zuul triggers https://gerrit.wikimedia.org/r/68563 At least one build succeeded. https://integration.wikimedia.org/ci/job/apps-android-commons-build/ That should be fine for you. If the job works properly we will make it voting (and thus block the change upon jenkins job failure). :)
This is pending review / merge of my JJB patch by upstream https://review.openstack.org/#/c/32965/
Is it possible to make the bot leave the url of the built apk in the comment, in addition to the link to the console?
Ah it is only building and not publishing the resulting apk .. Maybe I could use the artifact archiving functionality and have Jenkins to copy the apk in the docroot ( ex: https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin )
That would be nice, yes :)
There is a 'copy to slave' Jenkins which is supported by JJB. Would let us copy the apkartifact under the integeation docroot on gallium.
moving bug back in the pool.
This (building the Wikipedia Android app via Jenkins) was discussed today with Bernd and Dmitry. What is the status of that now? Is Jenkins doing anything more than lint checking with the Android app? It looks like that is all they have from eg: https://gerrit.wikimedia.org/r/#/c/135805/
Yuvi and I talked about it again a couple month ago. The challenge is getting Android SDK installed on the Ubuntu slaves (read build a package / puppet recipe for it). I have no clue how Android work so I am not comfortable doing it.