ReleaseEngineering/ThunderbirdTryServer: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Stop removing hgtool.)
(Mention --buildbot.)
Line 15: Line 15:
These are the differences for the Thunderbird try server:
These are the differences for the Thunderbird try server:


* The try syntax needs to include <code>--buildbot</code> to trigger any builds.
* Patches should be pushed to <code><nowiki>ssh://hg.mozilla.org/try-comm-central</nowiki></code>
* Patches should be pushed to <code><nowiki>ssh://hg.mozilla.org/try-comm-central</nowiki></code>
* Results go to the [https://treeherder.mozilla.org/#/jobs?repo=try-comm-central try-comm-central on treeherder]
* Results go to the [https://treeherder.mozilla.org/#/jobs?repo=try-comm-central try-comm-central on treeherder]

Revision as of 18:10, 6 October 2017

Basic Use

The Thunderbird try server works in exactly the same way to the Firefox try server with a few minor differences. The automation is based on the same hardware and tools, so there should be few differences.

The Thunderbird try server is primarily for building Thunderbird. Whilst building other comm-central apps may work, this is not supported - builds and tests may fail etc.

Must Read

Please read the Firefox Try server page to get familiar with the basic workings of try server.

Please also use the TryChooser whenever possible to limit jobs and save builder time.

Differences

These are the differences for the Thunderbird try server:

Tips and Tricks

  • Pushing a try build with try-comm-central will always pick the latest m-c changeset.

Pushing mozilla-central patches

There's two steps to this process.

  1. Add --apply-patches to build/client.py-args.
    • Example patch here.
    • If you do this as a separate patch in your Mecurial queue, you can reuse it whenever you want. Otherwise this change can go into the patch created in the step 4.
  2. Copy your mozilla-central patch to somewhere in your comm-central tree (it can be placed into the root directory) and name it something like: mozilla-<anything>.patch (the mozilla- prefix is essential).
  3. hg add your patch.
  4. Then hg commit your changes, or use hg qnew for a new item on your patch queue.
  5. Push your patches to try-comm-central.

The client.py code will automatically apply your mozilla-central patch when the code is checked out. Any apply failures will cause the builds to be aborted. The mozilla-central patches are supposedly applied in the alphabetic order of their file names. You can mix comm-central and mozilla-central patches in the same batch being pushed.

Pushing ldap/chatzilla/venkman/DOM Inspector patches

The mozilla build system also supports modifying code from other hg.mozilla.org code repositories for testing on the try server. The approach for this is basically the same as in the Pushing mozilla-central patches section, except the patch file name has to be ldap-<anything>.patch, chatzilla-<anything>.patch, venkman-<anything>.patch or inspector-<anything>.patch depending on what patch you want to test.

Known issues

No results.

0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);