Skip to content

Mercurial - Steps

Steps

Steps

Process steps in the Mercurial plug-in

Mercurial Changelog

Perform a Mercurial changelog and publish the results.

NameTypeDescriptionRequired
Changes URLStringNo
End DateStringEnd changelog at this date (yyyy-MM-dd HH:mm:ss z OR E MMM dd HH:mm:ss zzz yyyy OR milliseconds since Unix Epoch)No
End RevisionStringEnd changelog at this revisionNo
Source ConfigNo
Start BuildLife IdStringThe ID of the start buildlife. This plugin will look for changes since that buildlife.No
Start DateStringStart changelog at this date (yyyy-MM-dd HH:mm:ss z OR E MMM dd HH:mm:ss zzz yyyy OR milliseconds since Unix Epoch)No
Start RevisionStringStart changelog at this revisionNo

Mercurial Checkout

Perform a Mercurial clone and checkout of the workflows source

NameTypeDescriptionRequired
BranchStringOverride the branch to check outNo
Clean WorkspaceBooleanErase all files from the worksapce before performing checkoutNo
DateStringDate of sourcecode to checkout (yyyy-MM-dd HH:mm:ss z OR E MMM dd HH:mm:ss zzz yyyy OR milliseconds since Unix Epoch). Defaults to the requested build date for the workflow.No
Remote NameStringOverride the remote name from which to check outNo
RevisionStringOverride the revision to check outNo
Source ConfigNo

Mercurial Cleanup

Perform a cleanup of the Mercurial working directory

NameTypeDescriptionRequired
Source ConfigNo

Mercurial Create Tag

Create a tag in Mercurial of the specified working copy.

NameTypeDescriptionRequired
MessageStringA message for the commitYes
Push TagBooleanImmediately push the new tag back to the remoteNo
Source ConfigNo
TagStringThe tag name to createNo

Mercurial Quiet Period

Perform a Mercurial changelog for quiet period detection and publish most recent change date within the period.

NameTypeDescriptionRequired
End DateStringEnd changelog at this date (yyyy-MM-dd HH:mm:ss z OR E MMM dd HH:mm:ss zzz yyyy OR milliseconds since Unix Epoch)No
Source ConfigNo
Start DateStringStart changelog at this date (yyyy-MM-dd HH:mm:ss z OR E MMM dd HH:mm:ss zzz yyyy OR milliseconds since Unix Epoch)No

Roles in the Mercurial plug-in

The plug-in adds these roles automatically to resources. You cannot add these roles manually.

Mercurial Repository

A placeholder for using the hg scm system. The remote repository is configured on a per workflow basis.

NameTypeDescription
Command PathStringThe location of the Mercurial command if not on the systems PATH
PasswordPasswordThe password to use for http(s) access repositories
Password ScriptStringIf you wish to use a script or property lookups for your password, leave the Password field blank and enter it here.
Repository Base URLStringA url prefix for source configurations to specify a relative path to the hg repository (e.g. https://hg.example.com/repos/or ssh://hg.example.com/repos/)
UsernameStringThe username to use for http(s) access repositories

Mercurial Source Config

NameTypeDescription
BranchStringThe remote branch name to check out (defaults to default)
Directory OffsetStringDirectory Offset from the current job working directory. (Use . to clone into the current working directory)
Exclude UsersStringExclude this list of usernames
File FiltersStringRestrict changelog to files matching these patterns. Lines start with + to include, andto exclude.Wildcards *, **, and ? are allowed.
Remote URLStringThe path to the project repository. May be either absolute e.g. https://hg.example.com/repos/example/or ssh://hg.example.com/repos/example/, or relatative to the repository base url e.g. example
RepositorySelect the Mercurial Repository