|
|
| Line 48: |
Line 48: |
| === 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 [http://trychooser.pub.build.mozilla.org/ 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. | | 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 [http://trychooser.pub.build.mozilla.org/ 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. |
| These are the steps you need to take in order to successfully push to try using Try Sintax:
| | |
| * as a first step, we will have to <span style="color:#2a4b8d">'''locally backout'''</span> the changeset/changesets:
| |
| '''hg oops -er''' OR '''-esr''' changeset/changesets
| |
| * next step would be accessing [https://mozilla-releng.net/trychooser/ Try Chooser] and <span style="color:#2a4b8d">'''choosing the build types, platforms, test suites, etc,'''</span> that you need to test. Here's an example of a syntax that was generated:
| |
| [[File:Trychooser ui.png|frame|center]]
| |
| * for the backout's commit message (the one started at step 1) we will only use what is written in the <span style="color:#2a4b8d">'''Computed Syntax command field'''</span>. Example:
| |
| [[File:Commit msg.png|frame|center]]
| |
| * to <span style="color:#2a4b8d">'''push to try'''</span>, use the following command:
| |
| '''hg push -f ssh://hg.mozilla.org/try'''
| |
| * after the backout was pushed to try, we need to <span style="color:#2a4b8d">'''drop the commit messages from history'''</span>, for every single changeset that was pushed:
| |
| '''hg histedit'''
| |
| and make sure that every <span style="color:#b32425">'''''pick'''''</span> was replaced by <span style="color:#b32425">'''''d''(drop)'''</span>. Example:
| |
| [[File:Histedit.png|frame|center]]
| |
|
| |
|
| ==== Using mach ==== | | ==== Using mach ==== |