提交 d869df00 编写于 作者: A alanharder

[FIXED JENKINS-9248] Add configuration info in remote API for matrix builds

上级 c595586f
...@@ -51,6 +51,7 @@ import java.util.List; ...@@ -51,6 +51,7 @@ import java.util.List;
import org.kohsuke.stapler.StaplerRequest; import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse; import org.kohsuke.stapler.StaplerResponse;
import org.kohsuke.stapler.export.Exported;
/** /**
* Build of {@link MatrixProject}. * Build of {@link MatrixProject}.
...@@ -126,6 +127,7 @@ public class MatrixBuild extends AbstractBuild<MatrixProject,MatrixBuild> { ...@@ -126,6 +127,7 @@ public class MatrixBuild extends AbstractBuild<MatrixProject,MatrixBuild> {
/** /**
* Returns all {@link MatrixRun}s for this {@link MatrixBuild}. * Returns all {@link MatrixRun}s for this {@link MatrixBuild}.
*/ */
@Exported
public List<MatrixRun> getRuns() { public List<MatrixRun> getRuns() {
List<MatrixRun> r = new ArrayList<MatrixRun>(); List<MatrixRun> r = new ArrayList<MatrixRun>();
for(MatrixConfiguration c : getParent().getItems()) { for(MatrixConfiguration c : getParent().getItems()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册