Package | Description |
---|---|
com.atlassian.bamboo.testutils | |
com.atlassian.bamboo.testutils.backdoor.repository | |
com.atlassian.bamboo.testutils.vcs.git |
Modifier and Type | Method and Description |
---|---|
static TestBuildDetails |
TestBuildDetailsHelper.setupGitPlan(TestBuildDetails plan,
GitRepositoryDescriptor repositoryDescriptor) |
TestBuildDetailsBuilder |
TestBuildDetailsBuilder.withGit(GitRepositoryDescriptor repositoryDescriptor) |
Modifier and Type | Method and Description |
---|---|
static Repository |
RestRepositoryHelper.getGitRepository(GitRepositoryDescriptor repositoryDescriptor)
Creates a Git
Repository object for further usage in tests, e.g. |
Modifier and Type | Method and Description |
---|---|
static GitRepositoryDescriptor |
LocalGitSetupHelper.cloneLocalRepository(GitRepositoryDescriptor localRepository) |
static GitRepositoryDescriptor |
LocalGitSetupHelper.createRepositoryFromZip(String zipResourceName) |
static GitRepositoryDescriptor |
LocalGitSetupHelper.getRepositoryForCommits() |
static GitRepositoryDescriptor |
LocalGitSetupHelper.getRepositoryForReadOnlyAccess() |
static GitRepositoryDescriptor |
LocalGitSetupHelper.mirrorLocalRepository(GitRepositoryDescriptor localRepository) |
static GitRepositoryDescriptor |
GitRepositoryDescriptor.readOnlyRepository(File repositoryRoot)
Caller of this method is responsible for calling
forceDeleteRepository() |
static GitRepositoryDescriptor |
GitRepositoryDescriptor.writableRepository(File repositoryRoot) |
Modifier and Type | Method and Description |
---|---|
static void |
GitRepositoryHelper.addFile(GitRepositoryDescriptor repositoryDescriptor,
File file,
String commitMessage) |
static void |
GitRepositoryHelper.checkoutBranch(GitRepositoryDescriptor clonedWorkspace,
String branchName) |
static GitRepositoryDescriptor |
LocalGitSetupHelper.cloneLocalRepository(GitRepositoryDescriptor localRepository) |
static void |
GitRepositoryHelper.createBranch(GitRepositoryDescriptor clonedWorkspace,
String branchName) |
static void |
GitRepositoryHelper.deleteBranch(GitRepositoryDescriptor clonedWorkspace,
String branchName) |
static GitRepositoryDescriptor |
LocalGitSetupHelper.mirrorLocalRepository(GitRepositoryDescriptor localRepository) |
static void |
GitRepositoryHelper.pushBranch(GitRepositoryDescriptor clonedWorkspace,
String branchName) |
static String |
GitRepositoryHelper.touchClonedWorkspace(GitRepositoryDescriptor clonedWorkspace,
String pathToTouch,
String comment) |
static String |
GitRepositoryHelper.touchClonedWorkspace(GitRepositoryDescriptor clonedWorkspace,
String pathToTouch,
String comment,
String gitUserName,
String gitUserEmail) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.