CruiceControl .NET fails to trigger build

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
espenalb
Posts: 11
Joined: Wed Aug 31, 2005 2:02 am

CruiceControl .NET fails to trigger build

Post by espenalb » Thu Nov 23, 2006 6:15 am

I posted on the "normal" forum, so I repeat the post here - sorry for the double post.

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>
This is what happens in the ccnet.log:

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.
The vault server and the ccnet server are Win2003 servers and their clocks are synchronized....

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Nov 27, 2006 11:36 am

Linda Bauer
SourceGear
Technical Support Manager

Locked