提交 2fc2df72 编写于 作者: J jasonchaffee

Issue number: 1340

Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7801 71c3de6d-444a-0410-be80-ed276b4c234a
上级 3c9c8d80
......@@ -106,10 +106,18 @@ public class SurefireArchiver extends MavenReporter {
return false;
try {
return !mojo.getConfigurationValue("skip", Boolean.class);
Boolean skip = mojo.getConfigurationValue("skip", Boolean.class);
Boolean skipExec = mojo.getConfigurationValue("skipExec", Boolean.class);
Boolean skipTests = mojo.getConfigurationValue("skipTests", Boolean.class);
if (((skip != null) && (skip)) || ((skipExec != null) && (skipExec)) || ((skipTests != null) && (!skipTests))) {
return false;
}
} catch (ComponentConfigurationException e) {
return false;
}
return true;
}
public DescriptorImpl getDescriptor() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册