Skip to content

atzedent/ccnet.GitRevisionLabeller.plugin

Repository files navigation

Usage:

<labeller type="gitRevisionLabeller">
	<workingDirectory>..\Sources</workingDirectory>
	<incrementOnFailure>False</incrementOnFailure>
	<major>$(major)</major>
	<minor>$(minor)</minor>
</labeller>

The labeller emmits following variables:
$(CCNetGitCommitHash)
$(CCNetGitParentHash)
$(CCNetGitTreeHash)
$(CCNetBuildCycleNumber)
$(CCNetGitRepositoryPath)
$(CCNetGitLabel)
$(CCNetGitCommitCount)

It builds the $(CCNetLabel) as follows:
Major.Minor.CCNetGitCommitCount.CCNetBuildCycleNumber

The CCNetGitLabel is CCNetBuildCycleNumber- and thefirst seven characters of the $(CCNetGitCommitHash).

About

Labeller Plugin for CruiseControl.NET talking to git

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages