Build:TryServer

From MozillaWiki
Jump to navigation Jump to search

Try Server

How to push to try

To submit a change to the try server:

  • For changes to mozilla-central or close enough (e.g. tracemonkey branch), you can hg push -f ssh://hg.mozilla.org/try/
    or
    hg push -f ssh://<username@host@>hg.mozilla.org/try/

To see the results:

If you're using Mercurial queues, the push -f command pushes any patches that are currently applied, and the Try server will build the result. (This is an awesome feature, not a bug!)

You don’t need to clone or pull from the try repo, and you probably don’t want to. You’d get every half-baked changeset anybody ever tested.

See Jorendorff's blog for more details.

Using a custom mozconfig

If you want to use setting other than those in the default mozconfigs (linux example). Then you need to push to the $topsrcdir either:

  • .mozconfig-extra with settings to be applied to all mozconfigs
  • .mozconfig-extra-$platform to apply changes only to that platform's mozconfig

The options you enable/disable in your custom mozconfig are appended to the existing config after the default set.


What Gets Tried

The Try server currently reports on the following trees:

A push to try kicks off these builders by default:

Builder If successful triggers
$platform tryserver build $platform tryserver opt test everythingelse, $platform tryserver opt test mochitests-{1-5}
$platform tryserver leak test build $platform tryserver debug test everythingelse, $platform tryserver debug test mochitests-{1-5}
Maemo try hg build
Talos runs for each successful build for a platform

Other Notes

  • Suggestions for the future can be made here

Other Mozilla Try Servers