| Modifier and Type | Method and Description |
|---|---|
BuildChanges |
UnconditionalBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
| Modifier and Type | Method and Description |
|---|---|
void |
BranchCommitInformationManager.initialiseCommitInformation(ImmutableChainBranch branch)
Initialises the commit information if the branch doesn't have a
BranchCommitInformation attached to it |
MergeResult |
BranchIntegrationHelper.merge(BuildContext buildContext,
File mergeDirectory,
BuildLogger logger)
Perform branch merging according to Integration Configuration
|
| Modifier and Type | Method and Description |
|---|---|
File |
MavenPomAccessor.checkoutMavenPom(File destinationPath)
Checkout Maven POM and return File pointing to the project file
|
BuildRepositoryChanges |
OnceOffCapableRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision)
Collects the changes for the targetRevision.
|
BuildRepositoryChanges |
CustomRevisionDataAwareRepository.collectChangesSinceLastBuild(String planKey,
PlanVcsRevisionData lastRevisionData) |
String |
PushCapableRepository.commit(File sourceDirectory,
String message)
Perform a commit (dvcs commit).
|
void |
BranchingAwareRepository.createBranch(long repositoryId,
String branchName,
BuildContext buildContext)
Creates branch in the repository.
|
void |
TaggingAwareRepository.createTag(long repositoryId,
String tagName,
BuildContext buildContext)
Creates a tag in the repository
|
CommitContext |
BranchDetectionCapableRepository.getFirstCommit()
Deprecated.
Retrieve the commit that created the Branch.
|
CommitContext |
BranchDetectionCapableRepository.getLastCommit()
Deprecated.
Retrieve last commit on the branch set on this Repository.
|
List<VcsBranch> |
RepositoryCachingFacade.getOpenBranches(BranchDetectionCapableRepository repository,
String context)
Retrieve open branches from the given repository.
|
List<VcsBranch> |
BranchDetectionCapableRepository.getOpenBranches(String context)
Deprecated.
Set of open branches that are discovered in the repository. |
boolean |
BranchMergingAwareRepository.mergeWorkspaceWith(BuildContext buildContext,
File checkoutDirectory,
String targetRevision)
Merges a workspace located in checkout directory with the target revision.
|
void |
PushCapableRepository.pushRevision(File sourceDirectory,
String vcsRevisionKey)
Push the specified revision to the remote directory.
|
String |
CheckoutCustomRevisionDataAwareRepository.retrieveSourceCode(BuildContext buildContext,
PlanVcsRevisionData planVcsRevisionData,
File sourceDirectory,
int depth) |
String |
BranchMergingAwareRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth)
Checks out the latest source code from an appropriate repository to specified directory
|
| Modifier and Type | Method and Description |
|---|---|
BuildRepositoryChanges |
RepositoryV2.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey)
Collects the changes since the lastVcsRevisionKey.
|
File |
RepositoryV2.getSourceCodeDirectory(PlanKey planKey)
Deprecated.
since 3.3 Repository must handle checkout to any sub-directory.
|
String |
LegacyRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey)
Deprecated.
|
String |
CustomSourceDirectoryAwareRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory)
Checks out the latest source code from an appropriate repository to specified directory
|
| Modifier and Type | Method and Description |
|---|---|
BuildChanges |
ChangeDetectionManager.collectAllChangesSinceLastBuild(ImmutableChain chain,
Map<String,String> customVariableValues,
String customRevision)
Collect changes for a plan since the last build, regardless of whether the build triggering repositories have
changes or not.
|
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData)
Given a
RepositoryV2 finds the BuildChanges object that captures all changes that occurred
between the fromVcsRevisionKey to toVcsRevisionKey |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision)
Given a
RepositoryDefinition finds the BuildRepositoryChanges object that captures all changes
that occurred since the lastVcsRevisionKey to the current latest found on the repository. |
BuildChanges |
ChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(ImmutableChain chain,
Map<String,String> customVariableValues,
Set<Long> triggeringRepositories)
Collect changes for a plan since the last build.
|
void |
ChangeDetectionManager.updateIntegrationRepositoryDetails(ImmutableChain chain,
BuildChanges buildChanges) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.