<< Back to previous view

[QB-545] File system repository does not work.
Created: 11/Mar/10  Updated: 11/Mar/10

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: ChangSeop LEE Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Ubuntu 9.10


 Description   
Repositories
Test
Repository type File system
Description ------
Source directory /home/quickbuild/Test
Destination directory ------
Extra Unix copy options ------
Revision log base build version ${lastBuild==null?'':lastBuild.version}
Quiet period 0
Login mapping ------

Changing of folder
drwxr-xr-x 2 quickbuild quickbuild 4096 2010-03-11 09:06 Test

drwxr-xr-x 2 quickbuild quickbuild 4096 2010-03-11 09:20 Test

Configuration log
2010-03-11 09:19:14,527 [Thread-28843] INFO - Working directory of current configuration: /etc/Quickbuild/publish/work/root/Test
2010-03-11 09:19:14,528 [Thread-28843] INFO - Publish directory of current configuration: /etc/Quickbuild/publish/root/Test
2010-03-11 09:19:14,530 [Thread-28843] INFO - Triggering configuration: root.Test
2010-03-11 09:19:14,531 [Thread-28843] INFO - Checking build necessary condition...
2010-03-11 09:19:14,531 [Thread-28843] INFO - Build necessary condition not satisfied, new build won't be generated.
2010-03-11 09:24:14,532 [Thread-28844] INFO - Working directory of current configuration: /etc/Quickbuild/publish/work/root/Test
2010-03-11 09:24:14,533 [Thread-28844] INFO - Publish directory of current configuration: /etc/Quickbuild/publish/root/Test
2010-03-11 09:24:14,535 [Thread-28844] INFO - Triggering configuration: root.Test
2010-03-11 09:24:14,536 [Thread-28844] INFO - Checking build necessary condition...
2010-03-11 09:24:14,537 [Thread-28844] INFO - Build necessary condition not satisfied, new build won't be generated.


How could I make it build??

 Comments   
Comment by Robin Shen [ 11/Mar/10 12:38 AM ]
What type of change you've made inside directory "/home/quickbuild/Test"?. QuickBuild is able to detect below changes:
1. file modification (based on last modified time of the file)
2. file adding/deleting (based on last modified time of the containing folder)
Comment by ChangSeop LEE [ 11/Mar/10 12:50 AM ]
I added a file with touch command for testing.
Does Quickbuild check modification time of files in the folder or time of the folder?
Comment by Robin Shen [ 11/Mar/10 01:20 AM ]
Both. If a file is modified, its time stamp reflects the change, and if a file is deleted or added, the time stamp of the parent folder reflects the change. I tested with your scenario, and QuickBuild works correctly. Please also make sure that this repository is used in a checkout step that is reachable from default step and build necessary condition is defined as " effectingRepositoriesModified".
Comment by ChangSeop LEE [ 11/Mar/10 01:41 AM ]
Thank you, Robin.
I missed adding a checkout step in a default step.
And now it works well after I add it to default step.

Thank you very much for fast reply and you help.
Comment by Robin Shen [ 11/Mar/10 02:00 AM ]
Glad to be helpful. Closing the issue now.
Generated at Sun Sep 28 19:03:34 UTC 2025 using JIRA 189.