Working with Mercurial

You are viewing an old version (v. 8) of this page.
The latest version is v. 12, last edited on Nov 07, 2010 (view differences | )
<< View previous version | view page history | view next version >>

Prerequisites

QuickBuild utilizes the Mercurial command (hg) to interact with remote Mercurial repository. If this command is not in system path, you will need to specify location of the command by configuring Mercurial plugin as below:

Further more, Mercurial command (hg) location can be specified on a per-node basis by following below steps:

  1. Open Mercurial plugin setting page and define the Bazaar path property as:
    ${node.getAttribute("hgPath")}
    
  2. For each node that does not have Bazaar on system path, define the user attribute hgPath to point to the actual Mercurial path like below:

NOTE: example above is just for demonstration, you can use any other user attribute name instead of hgPath.

Creating a Mercurial Repository

You may refer to this page on how to add a repository.

Supported URL prefixes

Currently, below URL prefixes are supported:

  • [local/filesystem/path]
  • [file://local/filesystem/path]
  • [http://host[:port]/path]
  • [https://host[:port]/path]
  • [ssh://host[:port]/path]

If https is used, and your credential need password, you need first add the credential manually to the nodes which you want check out code to.
If ssh based URL is used, please use public key without password for authorization and you need not specify the password when you create the repository. You can reference your SSH manual on how to create public key without password.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.