I can't seem to figure out how to use the basic archive artifacts statement. What I want is to archive an entire subtree but naming it doesn't seem to work. Nor does directory/**
nor directory/**/
I've read the ant doc but it doesn't make much sense to me.
How do I specify a subtree? Or... where can I find a meaningful description of whatever goes in that field?
Go to your client project and select configure. Create a post-build action and select 'archive artififacts' from the drop down menu. Add the type of files you want to archive (and eventually, copy and export).
Normally, Jenkins 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. Note that the Maven job type automatically archives any produced Maven artifacts. Any artifacts configured here will be archived on top of that.
a library or archival resource that has value as a physical object in addition to its informational value (View Citations) Frequently, however, discussions of these developments imply that, once reproductions exist, many of the artifacts from which they derive need no longer be consulted or saved.
Directory/**/*.* -> All the files recursively under Directory
**/*.* -> all the files in the workspace
**/*.xml -> all xml files in your workspace.
Directory/**/*.xml -> All the xml files recursively under Directory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With