Setting up pretested integration with Mercurial
The workflow is adapted from the personal branch version of the branchy approach described in \[https://wiki.jenkins-ci.org/display/JENKINS/Designing+pre-tested+commit. \\ \]
1. A named branch is used as the team integration branch (defaults to 'default').
1. Under "Source Code Management" select Mercurial. For "Repository URL" use the repository url. Type in the name of the staging branch into "Branch".
2. Under Build Environment, check "Use pretested integration"
3. Select Mercurial and type in the name of the integration branch into "Integration branch".
_Note: A post-build action can also be configured, however it will automatically be activated by the plugin the first time a build is triggered._