use of com.teamscale.jacoco.agent.upload.teamscale.DelayedTeamscaleMultiProjectUploader in project teamscale-jacoco-agent by cqse.
the class AgentOptions method createDelayedMultiProjectTeamscaleUploader.
private IUploader createDelayedMultiProjectTeamscaleUploader(Instrumentation instrumentation) {
DelayedTeamscaleMultiProjectUploader uploader = new DelayedTeamscaleMultiProjectUploader((project, revision) -> new TeamscaleUploader(teamscaleServer.withProjectAndRevision(project, revision)));
GitMultiProjectPropertiesLocator locator = new GitMultiProjectPropertiesLocator(uploader);
instrumentation.addTransformer(new GitPropertiesLocatingTransformer(locator, getLocationIncludeFilter()));
return uploader;
}
Aggregations