This commit is contained in:
Marcin Grzejszczak
2019-05-02 11:47:33 +04:00
parent b1ae873800
commit 666584bf68
7 changed files with 27 additions and 6 deletions

View File

@@ -29,7 +29,11 @@ import org.eclipse.jgit.transport.URIish;
/**
* @author Marcin Grzejszczak
*/
public class GitTestUtils {
public final class GitTestUtils {
private GitTestUtils() {
throw new IllegalStateException("Can't instantiate a utility class");
}
public static void setOriginOnProjectToTmp(File origin, File project)
throws GitAPIException, MalformedURLException {

View File

@@ -21,7 +21,11 @@ import java.io.IOException;
import org.eclipse.jgit.util.FileUtils;
public class TestUtils {
public final class TestUtils {
private TestUtils() {
throw new IllegalStateException("Can't instantiate a utility class");
}
public static void prepareLocalRepo() throws IOException {
prepareLocalRepo("target/test-classes/projects/", "spring-cloud");

View File

@@ -805,6 +805,8 @@ public class AcceptanceTests {
.add(s));
releaserProperties.getGit().setDocumentationUrl(
file("/projects/spring-cloud-static-angel/").toURI().toString());
releaserProperties.getGit().setReleaseTrainBomUrl(
file("/projects/spring-cloud-release/").toURI().toString());
releaserProperties.getMaven().setBuildCommand("echo executed_build");
releaserProperties.getMaven().setDeployCommand("echo executed_deploy");
releaserProperties.getMaven()