提交 eea67c76 编写于 作者: A Andrew Bayer

[FIXED JENKINS-10197] isPartial() check for matrix builds now only reference active configurations.

上级 c5cb67be
......@@ -58,6 +58,9 @@ Upcoming changes</a>
<li class=rfe>
Make syntax highlighting optional
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-10509">issue 10509</a>)
<li class=bug>
isPartial() check for matrix builds now only reference active configurations.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-10197">issue 10197</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -195,7 +195,7 @@ public class MatrixBuild extends AbstractBuild<MatrixProject,MatrixBuild> {
* True if this build didn't do a full build and it is depending on the result of the previous build.
*/
public boolean isPartial() {
for(MatrixConfiguration c : getParent().getItems()) {
for(MatrixConfiguration c : getParent().getActiveConfigurations()) {
MatrixRun b = c.getNearestOldBuild(getNumber());
if (b != null && b.getNumber()!=getNumber())
return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册