}
public boolean perform(AbstractBuild<?,?> build, Launcher launcher,
BuildListener listener) throws InterruptedException, IOException {
SurefireReport report = build.getAction(SurefireReport.class);
if (report == null) {
return true;
}
List<Data> data = new ArrayList<Data>();
if (testDataPublishers != null) {
for (TestDataPublisher tdp : testDataPublishers) {
Data d = tdp.getTestData(build, launcher, listener, report.getResult());
if (d != null) {
data.add(d);
}
}
}
report.setData(data);
return true;
}