Hi all, Before I embark on some coding, does anyone know if there is such a plugin that will archive the entire workspace ?
I don't want all the files as attached artifacts - but the workspace as one big zip/tgz, and ideally be able to only keep it with a different schedule from the build artifacts? The Clone Workspace SCM plugin[1] is almost what I'm looking for but not quite (and I don't think it makes sense to extend this). The use case I am trying to solve is that we will be moving to RAM disks for the build machines - and as we don;t have 100's of GB of RAM for each slave we need to wipe the workspace at the end of the build (builds can float between slaves). This is fine until there is a failed build - which if the reason is not obvious in the JUnit test then there will be nothing around to poke at (as the workspace will be wiped). Not wiping the workspace is not a viable solution as there may be several failed builds (of both the same job and other jobs) and as the build may not run on the same slave next time failed builds will accumulate leading us to run out of disk space. Regards, /James --