提交 5e3000fe 编写于 作者: A Andrew Bayer

Fixing setting of includeFailedBuilds on aggregated test results.

上级 09e48918
......@@ -346,9 +346,9 @@ public class AggregatedTestResultPublisher extends Recorder {
public AggregatedTestResultPublisher newInstance(StaplerRequest req, JSONObject formData) throws FormException {
JSONObject s = formData.getJSONObject("specify");
if(s.isNullObject())
return new AggregatedTestResultPublisher(null);
return new AggregatedTestResultPublisher(null, req.getParameter("includeFailedBuilds") != null);
else
return new AggregatedTestResultPublisher(s.getString("jobs"));
return new AggregatedTestResultPublisher(s.getString("jobs"), req.getParameter("includeFailedBuilds") != null);
}
public AutoCompletionCandidates doAutoCompleteJobs(@QueryParameter String value) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册