Clean-up not working?
"Clean history | more than 1 day older than the last build"
But I've got builds with artifacts going back well into April. Is this a
bug? Is there a workaround (other than manually deleting the artifacts
off the server's drive - I can do that, but I'd rather not have to do
that too often)?
TeamCity Enterprise Version 3.1.1 (build 6828)
Please sign in to leave a comment.
If artifacts of these builds were downloaded by other builds then these builds will not be removed until build downloaded artifact is removed.
--
Pavel Sher
Pavel Sher (Jetbrains) wrote:
Ah ... interesting. We do that a lot - I guess I'll need to chase that down.
Still - my global cleanup rule shouldn't let anything go beyond a week.
Pavel Sher (Jetbrains) wrote:
You have any log output in TeamCity for the cleanup so I can see what TC
is thinking, to help me track this down?
Chris Morris wrote:
>> If artifacts of these builds were downloaded by other builds then
>> these builds will not be removed until build downloaded artifact is
>> removed.
No, but we can provide small patch that will log all builds that are
"pinned" by artifact dependency.
--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Alexey Gopachenko (JetBrains) wrote:
Sounds good - I'd like that patch.
Chris Morris wrote:
>> No, but we can provide small patch that will log all builds that are
>> "pinned" by artifact dependency.
Ok, looks like there other requests for this...
Watch http://jetbrains.net/tracker/issue/TW-5173: Additional cleanup
logging for analysing what builds is pinned by "artifact dependency"
--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
+1 for this. I just set up T/C at my new job and was wondering why I kept running out of disk space on the machine.
Has anything further happened on this to resolve the issue of builds not being cleaned properly?
I currently have a cron job rm -rf'ing everything in the artifacts directory, which sadly means we can't make use of 'pinned' builds :(
Mark Derricutt wrote:
4.0 version will have quite different (much extended) notion of
dependencies, and your scenario is expected to work. As for 3.1.x branch
- there will be no further enhancements, only critical bug fixes.
--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"