added the excludes pattern support.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1989 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-01-30 15:29:45 +00:00
1 parent 5f194852d7
commit 702cb1b29b
1 file changed
+1 -1
@@ -59,7 +59,7 @@ public class ArtifactArchiver extends Publisher {
dir.mkdirs();
try {
p.getWorkspace().copyRecursiveTo(artifacts,new FilePath(dir));
p.getWorkspace().copyRecursiveTo(artifacts,excludes,new FilePath(dir));
} catch (IOException e) {
Util.displayIOException(e,listener);
e.printStackTrace(listener.error("Failed to archive artifacts: "+artifacts));