提交 711c3b05 编写于 作者: I imod

add fix to changelog and add @since

上级 557716b8
......@@ -58,6 +58,9 @@ Upcoming changes</a>
<li class=bug>
Aborting download of workspace files make Jenkins unstable
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-7114">issue 7114</a>)
<li class=bug>
Unstable main build of maven projects leads to post steps being executed even if configured not to
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-14102">issue 14102</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -197,6 +197,10 @@ public class Maven3Builder extends AbstractMavenBuilder implements DelegatingCal
this.eventLogger = new ExecutionEventLogger( new PrintStreamLogger( maven3Builder.listener.getLogger() ) );
}
/**
* Whether there where test failures detected during the build.
* @since 1.496
*/
public boolean hasTestFailures(){
return hasTestFailures.get();
}
......
......@@ -369,5 +369,9 @@ public abstract class MavenBuilder extends AbstractMavenBuilder implements Deleg
private static final long serialVersionUID = 1L;
/**
* Whether there where test failures detected during the build.
* @since 1.496
*/
public abstract boolean hasBuildFailures();
}
......@@ -6,6 +6,7 @@ import hudson.maven.MavenReporter;
* A maven reporter expressing whether he found test failures and the build should be marked as UNSTABLE.
*
* @author Dominik Bartholdi (imod)
* @since 1.496
*/
public abstract class TestFailureDetector extends MavenReporter {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册