Build:TryServer: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Add a note about how to compare perf results)
No edit summary
Line 28: Line 28:


The options you enable/disable in your custom mozconfig are appended to the existing config after the default set.
The options you enable/disable in your custom mozconfig are appended to the existing config after the default set.
== What Gets Tried ==
Try Server now tests the pretty much the same things as mozilla-central: 32-bit and 64-bit platforms, opt and debug builds, unit tests and perf tests.
The current Try Server is based on the [http://hg.mozilla.org/mozilla-central/ mozilla-central] branch.  1.9.2 based try is coming soon, and is being tracked in [https://bugzilla.mozilla.org/show_bug.cgi?id=563822 bug 563822]


== Other Notes ==
== Other Notes ==
Line 47: Line 41:


* [https://wiki.mozilla.org/Thunderbird/Infrastructure/TryServer Thunderbird Try Server] for the comm-central repository
* [https://wiki.mozilla.org/Thunderbird/Infrastructure/TryServer Thunderbird Try Server] for the comm-central repository
* 1.9.2 try is coming soon ([https://bugzilla.mozilla.org/show_bug.cgi?id=563822 bug 563822])

Revision as of 08:11, 13 June 2010

Try Server

The try server is an easy way to test a patch without actually checking the patch into the core repository. Your code will go through the same tests as a mozilla-central push, and you'll be able to download builds if you wish.

To use try server, you need a Mozilla hg account (level 1 is sufficient).

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 an extra file 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.

Other Notes

  • Suggestions for the future can be made here

Other Mozilla Try Servers