提交 972c99b5 编写于 作者: K kohsuke

modified to produce a long message. Output from Maven is fairly verbose to...

modified to produce a long message. Output from Maven is fairly verbose to begin with, so this should be OK.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2876 71c3de6d-444a-0410-be80-ed276b4c234a
上级 62ab1046
......@@ -54,7 +54,7 @@ public class MavenArtifactArchiver extends MavenReporter {
if(!file.exists() || file.isDirectory())
return; // during a build maven sets a class folder instead of a jar file as artifact. ignore.
listener.getLogger().println("Archiving "+ file);
listener.getLogger().println("[HUDSON] Archiving "+ file);
FilePath target = build.getArtifactsDir()
.child(a.getGroupId())
......
......@@ -40,6 +40,8 @@ public class SurefireArchiver extends MavenReporter {
public boolean postExecute(MavenBuildProxy build, MavenProject pom, MojoInfo mojo, final BuildListener listener, Throwable error) throws InterruptedException, IOException {
if (!isSurefireTest(mojo)) return true;
listener.getLogger().println("[HUDSON] Recording test results");
File reportsDir;
try {
reportsDir = mojo.getConfigurationValue("reportsDirectory", File.class);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册