Package publisher leaves a copy of the package in the artifacts folder (Bug #294)

Added by Paul Omta almost 5 years ago. Updated almost 4 years ago.

Status:Feedback Start date:08/01/2013
Priority:Normal Due date:
Assignee:- % Done:


Category:Publisher Spent time: -
Target version:1.9
Affected version:1.8.4


When an outputDir is defined, the package file is moved there, as expected.
However, unexpectedly, a copy of the .zip file is left behind in the artifact folder. Since we have quite large package files, our build server runs out of disk space faster than expected.

I've filed this as a bug, since I don't expect a copy to be left behind if an outputDir is set. Correct me if I'm wrong.


Updated by Ruben Willems almost 5 years ago

you mean the Artifact_Cleanup_Publisher does not clean this up?

Updated by Paul Omta almost 5 years ago

Indeed, it doesn't.
I have an artifact cleanup enabled and the .xml files in the buildlogs folder do get cleaned up nicely. But the .zip files get left behind.

Updated by Ruben Willems almost 5 years ago

  • Target version set to 1.8.5

Updated by Ruben Willems about 4 years ago

  • Target version changed from 1.8.5 to 1.9

Updated by Ruben Willems almost 4 years ago

You can always define multiple artifactcleanup publishers :

1<!-- cleaning buildlogs   -->
2 <artifactcleanup cleanUpMethod="KeepLastXBuilds" cleanUpValue="50" />
4<!-- cleaning the packages -->
5 <artifactcleanup cleanUpMethod="KeepLastXSubDirs" cleanUpValue="0" />

This solves the problem of the clean up :-)

It could be that the outDir provides an extra output folder, I do not know what the initial intent was.
It does sound logical that if outdir is specified, the package would be placed there.

I made a test run, and the zip file is placed there, but not the packages.xml file :-$
Is this another bug?
Also, the package zip file is copied to the output folder without any version information, so it will always be the package of the latest build.
Is this also the idea?

this needs some thinking over I guesss

  • Status changed from New to Feedback

Also available in: Atom PDF