use of org.jenkinsci.test.acceptance.plugins.cobertura.CoberturaPublisher in project acceptance-test-harness by jenkinsci.
the class CoberturaPluginTest method setupJob.
private FreeStyleJob setupJob() {
FreeStyleJob j = jenkins.jobs.create();
j.configure();
{
j.copyResource(resource("/cobertura_plugin/coverage.xml"));
CoberturaPublisher c = j.addPublisher(CoberturaPublisher.class);
c.reportFile.set("coverage.xml");
}
j.save();
return j;
}
Aggregations