mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
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:
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));
|
||||
|
||||
Reference in new issue
Block a user