Files
gtav-src/tools_ng/bin/CruiseControl/WebDashboard/doc/CCNET/Last Change Labeller.html
T
2025-09-29 00:52:08 +02:00

74 lines
3.8 KiB
HTML
Executable File

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>CruiseControl.NET : Last Change Labeller</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
<tr>
<td valign="top" class="pagebody">
<div class="pageheader">
<span class="pagetitle">
CruiseControl.NET : Last Change Labeller
</span>
</div>
<div class="pagesubheading">
This page last changed on Feb 22, 2009 by <font color="#0050B2">williams</font>.
</div>
<p>Some source control systems (<em>e.g.</em>, <a href="Using CruiseControl.NET with AccuRev.html" title="Using CruiseControl.NET with AccuRev">AccuRev</a>) have a concept of a "change number", which the Last Change Labeller can use to build a label. The following configuration would prefix all labels with the string 'Foo-1-', so the build of change number 213 would be labelled 'Foo-1-213'</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;project&gt;</span>
<span class="code-tag">&lt;labeller type=<span class="code-quote">"lastChangeLabeller"</span>&gt;</span>
<span class="code-tag">&lt;prefix&gt;</span>Foo-1-<span class="code-tag">&lt;/prefix&gt;</span>
<span class="code-tag">&lt;/labeller&gt;</span>
<span class="code-tag"><span class="code-comment">&lt;!-- Other project configuration to go here --&gt;</span></span>
<span class="code-tag">&lt;/project&gt;</span></pre>
</div></div>
<h3><a name="LastChangeLabeller-ConfigurationElements%3A"></a>Configuration Elements:</h3>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Node </th>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Type </th>
<th class='confluenceTh'> Required </th>
<th class='confluenceTh'> Default </th>
</tr>
<tr>
<td class='confluenceTd'> prefix </td>
<td class='confluenceTd'> Any string to be put in front of the change number. </td>
<td class='confluenceTd'> string </td>
<td class='confluenceTd'> false </td>
<td class='confluenceTd'> "" </td>
</tr>
<tr>
<td class='confluenceTd'> allowDuplicateSubsequentLabels </td>
<td class='confluenceTd'> Controls whether duplicate subsequent labels are permitted or not. If true, duplicate labels are left<br clear="all" />
intact. If false, the label will always be suffixed with ".n", where "n" is incremented for each<br clear="all" />
successive duplication. </td>
<td class='confluenceTd'> bool </td>
<td class='confluenceTd'> false <br clear="all" /> </td>
<td class='confluenceTd'> true <br clear="all" /> </td>
</tr>
</tbody></table>
<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>The Last Change Labeller was added in build 1.3.0.2710. It is available in CCNet 1.3 and later.</td></tr></table></div>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="12" background="http://confluence.public.thoughtworks.org//images/border/border_bottom.gif"><img src="images/border/spacer.gif" width="1" height="1" border="0"/></td>
</tr>
<tr>
<td align="center"><font color="grey">Document generated by Confluence on Mar 14, 2009 02:55</font></td>
</tr>
</table>
</body>
</html>