use of jetbrains.buildServer.buildTriggers.vcs.git.patch.BulkPatchBuilderImpl in project teamcity-git by JetBrains.
the class BulkPatchBuilderTest method setUp.
@BeforeMethod
@Override
public void setUp() throws Exception {
super.setUp();
ServerPaths myPaths = new ServerPaths(myTempFiles.createTempDir().getAbsolutePath());
GitSupportBuilder builder = gitSupport().withServerPaths(myPaths);
myGit = builder.build();
myCommitSupport = new GitCommitsInfoBuilder(myGit, new GitFetchService(myGit));
myBulkBuilder = new BulkPatchBuilderImpl(builder.getPluginConfig(), myGit, builder.getTransportFactory());
myRepositoryDir = myTempFiles.createTempDir();
File masterRep = dataFile("repo.git");
FileUtil.copyDir(masterRep, myRepositoryDir);
}
Aggregations