I took a look and found that this archive folder used to be populated by the codegen build job (by the
scripts/codegen/archive.sh script which I wrote to mimic the top-level
archive.sh written by Celine). The codegen job used to have a different build than tooling, which is why it had separate scripts, but later the build was unified and the codegen build no longer invokes that script.
So these are indeed very old files and I have removed them all.
As for archiving nightlies, I'm not sure what we are doing exactly. Celine and Christian would have a better idea as they did the build reorganization. I see that the
PapyrusRT-Master-* jobs have the archive post-build action enabled with "
repository/**/*,*.zip" and for
PapyrusRT-Master-Product it's "
repository/**/*,*.zip ,**/products/*.zip , **/products/*.tar.gz". I'm not sure Furthermore, the
build-after.sh script which is invoked by every job seems to move the generated p2 to
${WORKSPACE}/repository (component-wise or all) and the generated zipped p2 to
${WORKSPACE}. So in effect it looks like we have one archived copy of the nightly in each
https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-Master-<Component>/ws/ and for the whole thing at
https://hudson.eclipse.org/papyrus-rt/job/Papyrus-RT-Master-Product/ws. The scripts remove any previous archive found at this locations, so in effect we have exactly one nightly archived.
Hudson's help states that
Archives the build artifacts (for example, distribution zip files or jar files) so that they can be downloaded later. Archived files will be accessible from the Hudson webpage.
Normally, Hudson keeps artifacts for a build as long as a build log itself is kept, but if you don't need old artifacts and would rather save disk space, you can do so.
I don't know how long the "build log" is kept.
The maximum number of build records to keep is set to 30 and the maximum number of builds to keep with artifacts is 3 for each PapyrusRT-Gerrit-* job, and 10 and 3 respectively for each PapyrusRT-Master-* job. It's not clear to me where exactly those last 3 artifacts are stored, though.
--
Ernesto Posse
Zeligsoft