Search in sources :

Example 1 with MainBranch

use of org.sonar.alm.client.bitbucket.bitbucketcloud.MainBranch in project sonarqube by SonarSource.

the class ImportBitbucketCloudRepoActionTest method getGsonBBCRepo.

private Repository getGsonBBCRepo() {
    Project project1 = new Project("PROJECT-UUID-ONE", "projectKey1", "projectName1");
    MainBranch mainBranch = new MainBranch("branch", "develop");
    return new Repository("REPO-UUID-ONE", "repo-slug-1", "repoName1", project1, mainBranch);
}
Also used : Project(org.sonar.alm.client.bitbucket.bitbucketcloud.Project) Repository(org.sonar.alm.client.bitbucket.bitbucketcloud.Repository) MainBranch(org.sonar.alm.client.bitbucket.bitbucketcloud.MainBranch)

Aggregations

MainBranch (org.sonar.alm.client.bitbucket.bitbucketcloud.MainBranch)1 Project (org.sonar.alm.client.bitbucket.bitbucketcloud.Project)1 Repository (org.sonar.alm.client.bitbucket.bitbucketcloud.Repository)1