Key: |
QB-2098
|
Type: |
Bug
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Critical
|
Assignee: |
Unassigned
|
Reporter: |
Maikel vd Hurk
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 20/Jun/14 07:57 AM
Updated: 17/Jul/14 04:02 AM
|
|
Component/s: |
None
|
Affects Version/s: |
5.1.29
|
Fix Version/s: |
5.1.31
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Clean up Workspaces Preserve Days seems to not take updates to workspace into accountFor example:
Node A is being used on 17-06-2014 for first time with a checkout of repository, in the next 3 days this machine is being used incrementally so only checking out new changelist. If the setting for preserve workspace is set on 3 days then on the 20-05-2014 the directory is being cleaned even though this is not valid as the workspace is still being used on 18/19 and it can cause collision on the 20 when trying to use the workspace again.
|
Description
|
Clean up Workspaces Preserve Days seems to not take updates to workspace into accountFor example:
Node A is being used on 17-06-2014 for first time with a checkout of repository, in the next 3 days this machine is being used incrementally so only checking out new changelist. If the setting for preserve workspace is set on 3 days then on the 20-05-2014 the directory is being cleaned even though this is not valid as the workspace is still being used on 18/19 and it can cause collision on the 20 when trying to use the workspace again. |
Show » |
|
root>Test>Checkout
Which will result in following workspace with setting 'Use configuration name to identify workspace directory':
/opt/buildagent/workspace/root/Test/Checkout
This directory will have time stamp of creation for first time, eg Jun 17 02:00, but if you then perform the SCM checkout always in a subdirectory called code (/opt/buildagent/workspace/root/Test/Checkout/code), then the top directory will never get a new date and therefore during the preserve check being removed after the grace period of 3 days.