Mobile on the new try server!

Mobile support for the new try server has just landed!  Any push after now will have an Android, Maemo 4, Maemo5 GTK and Maemo5 QT build done.  I have also added support for two magic files ‘mobile-repo’ and ‘mobile-rev’. Both of these files should be in the root directory of your mozilla-central clone.  The ‘mobile-repo’ file should contain a string with no whitespace or newlines that is a path relative to http://hg.mozilla.org/ referencing a mobile-browser repository. The ‘mobile-rev’ file should contain anything that can be used with the –rev flag to mercurial. In-repo branches or changeset identifiers work great here. Just like on desktop try, you can also have a special mozconfig for your mobile platforms. In the top level directory, create a mozconfig-extra file which contains options that are added to *all* platforms and a mozconfig-extra-android-r7, mozconfig-extra-maemo4, mozconfig-extra-maemo5-gtk and/or mozconfig-extra-maemo5-qt. I could add a check for a mozconfig-mobile that would add things to all mobile builds if that is desired.

An example of a push to try session to build against my user repository copy of mobile-browser might look like:

hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
rm README.txt
echo 'users/jford_mozilla.com/mobile-browser' > mobile-repo
echo 'default' > mobile-rev
hg add mobile-repo mobile-rev
hg commit -m 'Testing to see if we build without a readme file'
hg push -f ssh://hg.mozilla.org/try

With this marks the end of the old try server. It also means that we have fully transitioned our try server build infrastructure to Buildbot 0.8.0.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>