提交 702cb1b2 编写于 作者: K kohsuke

added the excludes pattern support.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1989 71c3de6d-444a-0410-be80-ed276b4c234a
上级 5f194852
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册