Files
gtav-src/tools_ng/bin/CruiseControl/WebDashboard/doc/CCNET/Using CruiseControl.NET with AccuRev.html
T
2025-09-29 00:52:08 +02:00

65 lines
4.5 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 : Using CruiseControl.NET with AccuRev</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 : Using CruiseControl.NET with AccuRev
</span>
</div>
<div class="pagesubheading">
This page last changed on Dec 20, 2006 by <font color="#0050B2">rosspatterson</font>.
</div>
<p>Using CruiseControl.NET with AccuRev</p>
<p>CruiseControl.NET has the following integration with <a href="http://www.accurev.com">AccuRev, Inc.'s</a> <a href="http://www.accurev.com/accurev.html">AccuRev</a> source control system:</p>
<p><img class="emoticon" src="images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"/> Modification Checking via polling<br/>
<img class="emoticon" src="images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"/> Automatic Source Updates<br/>
<img class="emoticon" src="images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"/> Automatic labelling on success</p>
<h3><a name="UsingCruiseControl.NETwithAccuRev-SettingupanAccuRevworkspaceforusewithCruiseControl.NET"></a>Setting up an AccuRev workspace for use with CruiseControl.NET</h3>
<p>CruiseControl.NET cannot automatically create a workspace from AccuRev - it can only perform updates. Before you start you must therefore create the workspace you want to integrate, specifying its location as a directory on your integration server. You can do this using the normal AccuRev client (command line or GUI).</p>
<p>Make a note of the full path of your working directory (the uppermost directory that got checked out) since you're going to need that data for configuring your CruiseControl.NET server.</p>
<p>You'll also need the AccuRev command line client installed on the integration server.</p>
<h3><a name="UsingCruiseControl.NETwithAccuRev-ConfiguringCruiseControl.NET"></a>Configuring CruiseControl.NET</h3>
<p>You need to make sure you use the <tt>accurev</tt> Source Control block within your project. Read up on this configuration block here: <a href="AccuRev Source Control Block.html" title="AccuRev Source Control Block">AccuRev Source Control Block</a>.</p>
<h3><a name="UsingCruiseControl.NETwithAccuRev-AutomaticSourceUpdates"></a>Automatic Source Updates</h3>
<p>To have CCNet automatically retrieve the latest version of the source from AccuRev prior to running a build, you should set the <tt><a href="AccuRev Source Control Block.html#AccuRevSourceControlBlock-autoGetSource">autoGetSource</a></tt> attribute to <b><tt>true</tt></b>.</p>
<h3><a name="UsingCruiseControl.NETwithAccuRev-AutomaticLabelling%28snapshoting%29"></a>Automatic Labelling (snapshoting)</h3>
<p>To have CCNet automatically create an AccuRev snapshot after a successful build, you should set the <tt><a href="AccuRev Source Control Block.html#AccuRevSourceControlBlock-labelOnSuccess">labelOnSuccess</a></tt> attribute to <b><tt>true</tt></b>. The label itself is specified by your choice of <a href="Labeller Blocks.html" title="Labeller Blocks">label generator</a>, one of which (the <a href="Last Change Labeller.html" title="Last Change Labeller">Last Change Labeller</a>) can build a label based on the AccuRev transaction number.</p>
<p>The contents of the snapshot will be the workspace's basis stream as of the most recent transaction included in the build.</p>
</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>