jenkinsarchive

jenkins archive artifacts - what's the format?


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?


Solution

  • 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