提交 a4a6fda5 编写于 作者: K kohsuke

during a build maven sets a class folder instead of a jar file as artifact. ignore.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2012 71c3de6d-444a-0410-be80-ed276b4c234a
上级 32040c48
......@@ -92,7 +92,7 @@ public class MavenFingerprinter extends MavenReporter {
*/
private boolean record(MavenBuildProxy build, final boolean produced, Artifact a) throws IOException, InterruptedException {
File f = a.getFile();
if(f==null || !files.add(f))
if(f==null || f.isDirectory() || !files.add(f))
return false;
// new file
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册