Last modified: 2012-02-24 02:52:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33498, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31498 - Provide nightly .apk builds of Android app for testers
Provide nightly .apk builds of Android app for testers
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Normal normal
: ---
Assigned To: Tomasz Finc
:
Depends on:
Blocks: 33133
  Show dependency treegraph
 
Reported: 2011-10-07 16:51 UTC by Brion Vibber
Modified: 2012-02-24 02:52 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2011-10-07 16:51:21 UTC
We've got some requests for regular nightly builds from potential testers; shouldn't be too hard to set up.
Comment 1 Tomasz Finc 2011-10-07 17:29:35 UTC
Let me message the guys at Nitobi to find out if PhoneGap build can do this easily for us.
Comment 2 Tomasz Finc 2011-10-24 18:16:51 UTC
Talked with Nitobi. We would have to send requests through their API to generate the APK and then post it in a public place. This is one way of doing it but we could also just put it in Jenkins.
Comment 3 Brion Vibber 2011-10-24 18:24:53 UTC
In theory I think something like this might work:

git pull && android update project && ant

but I haven't had much luck building from command line; things keep whinging that my build.xml is "obsolete" and I need to "delete it and regenerate it using android update project"... which refuses to update the file since it doesn't recognize it.

If you don't run android project update, you'll get mysterious errors due to not having the SDK path referenced in a local.properties.
Comment 4 Brion Vibber 2011-10-26 23:52:12 UTC
Pull request: https://github.com/nitobi/Wikipedia/pull/42

Updates the build.xml to work with Android SDK tools r14
Comment 5 Brion Vibber 2011-10-26 23:55:32 UTC
(merged)
Comment 6 Brion Vibber 2011-11-10 23:50:24 UTC
Any news? Translators will probably appreciate having access to nightlies to double-check things in context.
Comment 7 Phil Chang 2011-12-14 00:44:28 UTC
Is this ready to put on Jenkins?
Comment 8 Tomasz Finc 2011-12-14 18:18:08 UTC
It's ready to be put into Jenkins. We just need someone who knows how Jenkins works to do it. Perhaps chad could help?
Comment 9 Mark A. Hershberger 2011-12-14 19:52:56 UTC
Adding Chad to get his input and help.
Comment 10 Antoine "hashar" Musso (WMF) 2011-12-21 12:05:56 UTC
Nightly builds are now generated by Jenkins and made available at:

https://integration.mediawiki.org/WikipediaMobile/nightly/

The Sun JDK is installed by puppet.
The Android SDK was installed manually.

Whenever someone push a change to github, they send Jenkins a POST notification. This will update the local git clone and trigger a job build.

The job use the build.xml ant file with the 'debug' target. An additional shell script added in Jenkins then copy the resulting apk in a directory accessible by Apache which directory browsing enabled. The later layout is enhanced by adding an HTML file before and after the default listing.

Design files are in puppet:files/misc/jenkins/WikipediaMobile/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links