Closed jaitaiwan closed 11 years ago
Hi @jaitaiwan - I'm a little confused by this one, as the last stage of every build job deletes the temporary build folder. Is your setup not doing so?
What kind of build are you using? Remote? Local? Also does the user that runs the build jobs have permission to delete?
One thing to add, which I'm not sure if it exists, is a way to configure the build directory.
@dancryer On my installation I'm using local repositories; the build folder still contains the builds, but also the modification I wrote for the local repository plugin doesn't remove files created in the /tmp folder which is also an issue.
@tobiastom I think that's mentioned in another issue.
I can't help but think this is a local-specific issue, as PHPCI does remove builds by default.
I'm going to close this, but feel free to reopen if you disagree. :)
Hi Dan,
This is a local specific issue but technically a bug because of the code I provided (9b458060fd9dbc8b97e8376581624c30a4173f6d) for checking out local repositories.
Here's a checklist of what needs to happen:
That would fix the above situation I'm describing I believe.
When dealing with large repositories (say 2 or more gb) on a server that might have a 40gb hard drive; doing builds can become quite expensive because we aren't cleaning up a build when it's complete.
This can be especially annoying on *nix based OS's where sections of the system are in separate partitions. A.k.a. the root "/" directory might only be 2gb in partition size where the /home directory might be 15gb etc.
Possible solutions are:
I will most likely end up doing a pull request for this as I will probably need this functionality within the next 4 weeks.