We are using the following SourceControlBlock in CCNet:
Code: Select all
<sourcecontrol type="filtered">
<sourceControlProvider type="multi">
<sourceControls>
<vault>
<!-- Get the FinalBuilder files -->
<folder>$/Applications/FarmManagement/Test</folder>
<host>vault</host>
<repository>Default Repository</repository>
<username>*****</username>
<password>******</password>
<autoGetSource>true</autoGetSource>
<useWorkingDirectory>false</useWorkingDirectory>
<workingDirectory>c:\FinalBuilder\Vault\Applications\FarmManagement\Test\</workingDirectory>
</vault>
<vault>
<!-- Monitor the source -->
<folder>$/Applications/FarmManagement</folder>
<host>vault</host>
<repository>Default Repository</repository>
<username>*****</username>
<password>******</password>
<autoGetSource>false</autoGetSource> <!-- Source is now retrieved by FinalBuilder -->
<useWorkingDirectory>false</useWorkingDirectory>
</vault>
</sourceControls>
</sourceControlProvider>
<exclusionFilters>
<pathFilter>
<pattern>$/**/3rdParty/Continuous Integration/*.*</pattern> <!-- Do not trigger a build when CCNet config changes -->
</pathFilter>
</exclusionFilters>
</sourcecontrol>
Code: Select all
2006-11-23 12:57:12,958 [FarmManagement:INFO] Checking for modifications to $/Applications/FarmManagement in Vault Repository "Default Repository" between 11/23/2006 12:48:29 PM and 11/23/2006 12:56:08 PM
2006-11-23 12:57:12,958 [FarmManagement:DEBUG] Executing process C:\Program Files\SourceGear\Vault Client\vault.exe versionhistory $/Applications/FarmManagement -beginversion 10328 -rowlimit 1 -host vault -user **** -password **** -repository "Default Repository" in c:\FinalBuilder\CruiceControl\FarmManagement\WorkingDirectory
2006-11-23 12:57:12,958 [FarmManagement:DEBUG] Attempting to start process [C:\Program Files\SourceGear\Vault Client\vault.exe] in working directory [c:\FinalBuilder\CruiceControl\FarmManagement\WorkingDirectory] with arguments [versionhistory $/Applications/FarmManagement -beginversion 10328 -rowlimit 1 -host vault -user **** -password **** -repository "Default Repository"]
2006-11-23 12:57:31,430 [3984:DEBUG] <vault>
2006-11-23 12:57:31,430 [3984:DEBUG] <history>
2006-11-23 12:57:31,430 [3984:DEBUG] <item version="10328" date="11/23/2006 12:56:13 PM" user="Espen" comment="Disabled the IIS Reset action" txid="67563" />
2006-11-23 12:57:31,430 [3984:DEBUG] </history>
2006-11-23 12:57:31,430 [3984:DEBUG] <result success="yes" />
2006-11-23 12:57:31,430 [3984:DEBUG] </vault>
2006-11-23 12:57:31,461 [FarmManagement:DEBUG] Most recent folder version: 10328
2006-11-23 12:57:31,461 [FarmManagement:DEBUG] Most recent TxID: 67563
2006-11-23 12:57:31,461 [FarmManagement:DEBUG] The folder has changed.
2006-11-23 12:57:31,461 [FarmManagement:INFO] Retrieving detailed change list for $/Applications/FarmManagement in Vault Repository "Default Repository" between 11/23/2006 12:48:29 PM and 11/23/2006 12:56:08 PM
2006-11-23 12:57:31,461 [FarmManagement:DEBUG] Vault History command: FileName: [C:\Program Files\SourceGear\Vault Client\vault.exe] -- Arguments: [history $/Applications/FarmManagement -excludeactions label,obliterate -rowlimit 0 -begindate 2006-11-23T12:48:29 -enddate 2006-11-23T12:56:08 -host vault -user **** -password **** -repository "Default Repository"] -- WorkingDirectory: [c:\FinalBuilder\CruiceControl\FarmManagement\WorkingDirectory] -- StandardInputContent: [] -- Timeout: [120000]
2006-11-23 12:57:31,461 [FarmManagement:DEBUG] Executing process C:\Program Files\SourceGear\Vault Client\vault.exe history $/Applications/FarmManagement -excludeactions label,obliterate -rowlimit 0 -begindate 2006-11-23T12:48:29 -enddate 2006-11-23T12:56:08 -host vault -user **** -password **** -repository "Default Repository" in c:\FinalBuilder\CruiceControl\FarmManagement\WorkingDirectory
2006-11-23 12:57:31,461 [FarmManagement:DEBUG] Attempting to start process [C:\Program Files\SourceGear\Vault Client\vault.exe] in working directory [c:\FinalBuilder\CruiceControl\FarmManagement\WorkingDirectory] with arguments [history $/Applications/FarmManagement -excludeactions label,obliterate -rowlimit 0 -begindate 2006-11-23T12:48:29 -enddate 2006-11-23T12:56:08 -host vault -user **** -password **** -repository "Default Repository"]
2006-11-23 12:57:52,774 [2976:DEBUG] <vault>
2006-11-23 12:57:52,774 [2976:DEBUG] <history />
2006-11-23 12:57:52,774 [2976:DEBUG] <result success="yes" />
2006-11-23 12:57:52,774 [2976:DEBUG] </vault>
2006-11-23 12:57:52,790 [FarmManagement:WARN] Item history returned no changes. Version history is supposed to determine if changes exist. This is usually caused by clock skew between the CC.NET server and the Vault server.
2006-11-23 12:57:52,790 [FarmManagement:INFO] No modifications detected.