Issue Details (XML | Word | Printable)

Key: BAM-1314
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mark Chaimungkalanont [Atlassian]
Reporter: Eric White
Votes: 24
Watchers: 5
Operations

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

An option to delete local working copy of the repository before building

Created: 03/Jun/07 08:51 PM   Updated: 17/Apr/08 02:35 AM
Component/s: Build Process
Affects Version/s: None
Fix Version/s: 2.0 beta 8, 2.0

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0 minutes
Time Spent - 5 hours
Time Spent: 5 hours
Time Spent - 5 hours

Issue Links:
Cloners
 
Duplicate
 
Reference
 

Participants: David Lee, Edwin Wong [Atlassian], Eric White and Mark Chaimungkalanont [Atlassian]
Since last comment: 25 weeks, 3 days ago
Number of comments: 4
Internal Priority: 3. Medium
Internal Work Bucket: Dependant
Labels:


 Description  « Hide
Add an option to purge local copy on disk and perform a clean checkout for projects.

It would be nice to have a checkbox on Configuration:Source Repository or Configuration:Builder Configuration labeled "Purge Build Files" or something that would run purgeBuildFiles and initiate a Clean Build.

See, http://forums.atlassian.com/thread.jspa?messageID=257248397#257248397



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Lee added a comment - 18/Jun/07 12:23 PM
+1

I also like the peace of mind of clean full checkout daily builds. For this to be really useful, Bamboo will need to collect the source control changes between the previous clean build and the current clean build. Currently Bamboo does not capture source control changes when the build files are manually removed. BAM-1356 was raised as improvement to collect build changes for full checkout/clean builds.


David Lee added a comment - 23/Aug/07 01:06 PM
A dream implementation for this would be a configurable build file(s) cleanup strategy with options like:

1) "remove build files before every build". Every build will be a clean full checkout build.
2) "remove build files at <cron like expression> before build". This would allow the build files to be removed once a day, every other day, once a week, etc. Clean full checkout builds would occur when the cron like expression is satisfied and incremental checkout builds would occur otherwise.

When the build files are removed based on the above options, set a piece of metadata to indicate this build was a clean full checkout build.

Thanks!
-D


Mark Chaimungkalanont [Atlassian] added a comment - 19/Mar/08 03:38 AM
Folks,

This should now be possible through a checkbox. Bamboo will add repository.common.cleanCheckout=true to the customDataMap for each clean build.

I've created BAM-2387 to track more complex conditions for clearing but if a clean build has occurred.

2.0-beta7 which should be out next Tuesday.
Cheers,

Mark C


Edwin Wong [Atlassian] added a comment - 17/Apr/08 02:35 AM
Hi guys,

This feature is now officially released in Bamboo 2.0!

For more information about the release, check out our release notes.

You can download the latest release here today!

Regards,
Edwin