History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CCNET-1207
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Kevin Boistis
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
CruiseControl .NET

Modifications since last build reports files multiple times with perforce

Created: 04/Aug/08 11:22 AM   Updated: 04/Aug/08 11:22 AM
Component/s: Source Control
Affects Version/s: None
Fix Version/s: None

Original Estimate: 2 days Remaining Estimate: 2 days Time Spent: Unknown


 Description  « Hide
When changes are detected using perforce source control the files may be listed multiple times. When the view contains multiple paths the p4 command ran will return a change number for each change detected in each path. See results below. should only get the change list once not 5 times as in this example. Need to add check to handle this case.

ccnet.config:
<sourcecontrol type="p4">
<view>"//BusinessIntelligence/_Main/Tools/Common MSBuild Targets/...",//BusinessIntelligence/_Main/Assemblies/...,//BusinessIntelligence/_Main/Client.*,//BusinessIntelligence/_Main/Common/...,//BusinessIntelligence/_Main/Overtime/...,//BusinessIntelligence/_Main/Staffing/...,//BusinessIntelligence/_Main/SynchAuthorization/...,//BusinessIntelligence/_Main/Prototype/...</view>
<executable>C:\Program Files\Perforce\p4.exe</executable>
<client>BI_Client</client>
<user>buildit</user>
<password></password>
<port>*****</port>
<autoGetSource>true</autoGetSource>
<forceSync>true</forceSync>
</sourcecontrol>

Command ran:
Perforce plugin - running:FileName: [C:\Program Files\Perforce\p4.exe] -- Arguments: [-s -c BI_Client -p harding.api-wi.com:1666 -u buildit changes -s submitted "//BusinessIntelligence/_Main/Tools/Common MSBuild Targets/..."@2008/08/04:08:50:13,@2008/08/04:09:16:36 //BusinessIntelligence/_Main/Assemblies/...@2008/08/04:08:50:13,@2008/08/04:09:16:36 //BusinessIntelligence/_Main/Client.*@2008/08/04:08:50:13,@2008/08/04:09:16:36 //BusinessIntelligence/_Main/Common/...@2008/08/04:08:50:13,@2008/08/04:09:16:36 //BusinessIntelligence/_Main/Overtime/...@2008/08/04:08:50:13,@2008/08/04:09:16:36 //BusinessIntelligence/_Main/Staffing/...@2008/08/04:08:50:13,@2008/08/04:09:16:36 //BusinessIntelligence/_Main/SynchAuthorization/...@2008/08/04:08:50:13,@2008/08/04:09:16:36 //BusinessIntelligence/_Main/Prototype/...@2008/08/04:08:50:13,@2008/08/04:09:16:36] -- WorkingDirectory: [] -- StandardInputContent: [] -- Timeout: [2147483647]

Results:
2008-08-04 09:16:36,095 [Oriole Client:DEBUG] info: Change 60840 on 2008/08/04 by ****@****.***** 'Update'
2008-08-04 09:16:36,095 [Oriole Client:DEBUG] info: Change 60840 on 2008/08/04 by ****@****.***** 'Update'
2008-08-04 09:16:36,095 [Oriole Client:DEBUG] info: Change 60840 on 2008/08/04 by ****@****.***** 'Update'
2008-08-04 09:16:36,095 [Oriole Client:DEBUG] info: Change 60840 on 2008/08/04 by ****@****.***** 'Update'
2008-08-04 09:16:36,095 [Oriole Client:DEBUG] info: Change 60840 on 2008/08/04 by ****@****.***** 'Update'

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.