Repository Object

Repository (used by Source )

Name Description Type Usage Example
Branch The full name of the branch associated with the build for the given repository String $Source.RepoName.Branch$ "/branches/a_test_branch"
BranchName The name of the branch associated with the build for the given repository String $Source.RepoName.BranchName$ "a_test_branch"
BuiltChangeset A reference object to the changeset information related to the changeset which is being built for the given repository. Changeset $Source.RepoName.BuiltChangeset.TagNames$ "tag1,tag2,tag3"
ChangesetDetailsFilePath The path to the changeset details file containing information related to the built changeset String $Source.RepoName.ChangesetDetailsFilePath$ "D:\CI_Agent\Ws\49090\Source\_CI_ChangesetDetails.xml"
Changesets The collection of changesets associated with the build for the given repository Changesets Collection $Source.RepoName.Changesets.Count$ 2
CommitsSinceLatestTag The number of commits listed in the changeset history for the current branch of the given repository since the latest tag Integer $Source.RepoName.CommitsSinceLatestTag$ 3
LatestChangeset A reference object to the changeset information related to the most recent changeset for the given repository. Changeset $Source.RepoName.LatestChangeset.Comment$ "a comment from the last commit"
LatestTagName The latest tag name (if one exists) listed in the changeset history for the current branch of the given repository String $Source.RepoName.LatestTagName$ "tag3"
LatestTriggeringChangeset A reference object to the changeset information related to the latest changeset for the given repository which triggered this build. Changeset $Source.RepoName.LatestTriggeringChangeset.BranchName$ "master"
Name The name of the repository String $Source.RepoName.Name$ "RepoName"
Path The disk location of the source associated with the build for the given repository String $Source.RepoName.Path$ "C:\ContinuaAgent\Ws\44\Source"
Tag The tag name (if one exists) associated with the build for the given repository String $Source.RepoName.Tag$ "v3-release"
Type The repository product being used String $Source.RepoName.Type$ "Mercurial"
Url The URL of the repository in question (as defined within the repository preferences) String $Source.RepoName.Url$ "https://github.com/VSoftTechnologies/Delphi-Mocks.git"