Confirmed users
79
edits
(Use renamed mach command) |
m (Update TryChooser links) |
||
Line 47: | Line 47: | ||
=== Scheduling jobs with Try Syntax === | === Scheduling jobs with Try Syntax === | ||
If you know exactly what you want to run, you can use [[Build:TryChooser]] to select which jobs run directly in your commit message. Make sure the commit message containing try syntax is placed in your ''topmost commit''. The [ | If you know exactly what you want to run, you can use [[Build:TryChooser]] to select which jobs run directly in your commit message. Make sure the commit message containing try syntax is placed in your ''topmost commit''. The [https://mozilla-releng.net/trychooser/ TryChooser] web page can help you build a commit message for custom requests. It will generate both a syntax string as well as a mach command you can simply paste into your terminal. | ||
==== Using mach ==== | ==== Using mach ==== | ||
The recommended way to push with a try syntax, is to use |mach try|. It works with both mercurial and git, and you can use the [ | The recommended way to push with a try syntax, is to use |mach try|. It works with both mercurial and git, and you can use the [https://mozilla-releng.net/trychooser/ TryChooser] web page to generate the command. For example: | ||
$ mach try -b o -p linux -u mochitest-1 -t none | $ mach try -b o -p linux -u mochitest-1 -t none | ||
Line 69: | Line 69: | ||
==== Using mq ==== | ==== Using mq ==== | ||
The aforementioned tools may not play all that nicely with [https://www.mercurial-scm.org/wiki/MqExtension mercurial queues]. If you use mq, you can still push to try manually. First build your try syntax with the [ | The aforementioned tools may not play all that nicely with [https://www.mercurial-scm.org/wiki/MqExtension mercurial queues]. If you use mq, you can still push to try manually. First build your try syntax with the [https://mozilla-releng.net/trychooser/ TryChooser] web page. Then run: | ||
$ hg qref --message "try: <your-computed-syntax-here>" | $ hg qref --message "try: <your-computed-syntax-here>" | ||
Line 185: | Line 185: | ||
== See Also == | == See Also == | ||
* https://developer.mozilla.org/en/Creating_Mercurial_User_Repositories | * https://developer.mozilla.org/en/Creating_Mercurial_User_Repositories | ||
* | * https://mozilla-releng.net/trychooser/ | ||
* https://wiki.mozilla.org/Sheriffing/How:To:Recommended_Try_Practices | * https://wiki.mozilla.org/Sheriffing/How:To:Recommended_Try_Practices | ||
* https://wiki.mozilla.org/Build:TryChooser | * https://wiki.mozilla.org/Build:TryChooser |