Modifier and Type | Method and Description |
---|---|
BuildChanges |
UnconditionalBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryStoredSpecsService.runBambooSpecs(VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
VcsRepositoryData repository,
VcsLocationBambooSpecsState specsState) |
void |
RepositoryStoredSpecsServiceImpl.runBambooSpecs(VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
VcsRepositoryData repository,
VcsLocationBambooSpecsState specsState) |
Modifier and Type | Method and Description |
---|---|
void |
BranchCommitInformationManagerImpl.initialiseCommitInformation(ImmutableChainBranch branch) |
void |
BranchCommitInformationManager.initialiseCommitInformation(ImmutableChainBranch branch)
Initialises the commit information if the branch doesn't have a
BranchCommitInformation attached to it |
MergeResult |
BranchIntegrationHelperImpl.merge(BuildContext buildContext,
File mergeDirectory,
BuildLogger logger) |
MergeResult |
BranchIntegrationHelper.merge(BuildContext buildContext,
File mergeDirectory,
BuildLogger logger)
Deprecated.
Perform branch merging according to Integration Configuration
|
MergeResult |
VcsBranchIntegrationHelper.merge(BuildContext buildContext,
VcsRepositoryData repositoryData,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch integrationBranch,
File mergeDir,
BuildLogger logger) |
MergeResult |
BranchIntegrationHelperImpl.merge(BuildContext buildContext,
VcsRepositoryData defaultRepositoryDefinition,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch integrationBranch,
File mergeDir,
BuildLogger logger) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
BitbucketRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
BitbucketRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey) |
String |
BitbucketRepository.commit(File sourceDirectory,
String message) |
CommitContext |
BitbucketRepository.getFirstCommit() |
CommitContext |
BitbucketRepository.getLastCommit() |
List<VcsBranch> |
BitbucketRepository.getOpenBranches(String context) |
boolean |
BitbucketRepository.mergeWorkspaceWith(BuildContext buildContext,
File checkoutDirectory,
String targetRevision) |
void |
BitbucketRepository.pushRevision(File sourceDirectory,
String vcsRevisionKey) |
String |
BitbucketRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
BitbucketRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
CommitContext |
BitbucketCloudBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
BitbucketCloudBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
BitbucketCloudBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
List<VcsPullRequest> |
BitbucketCloudPullRequestDetector.getOpenPullRequests(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.updateToLatestRevision(VcsRepositoryData repositoryData,
File targetPath) |
Modifier and Type | Method and Description |
---|---|
protected GitRepositoryAccessData |
NativeGitOperationHelper.adjustRepositoryAccess(GitRepositoryAccessData accessData) |
String |
JGitOperationHelper.checkout(File cacheDirectory,
File sourceDirectory,
String targetRevision,
String previousRevision) |
String |
GitOperationHelper.checkout(File cacheDirectory,
File sourceDirectory,
String targetRevision,
String previousRevision) |
String |
NativeGitOperationHelper.checkout(File cacheDirectory,
File sourceDirectory,
String targetRevision,
String ignored) |
File |
GitMavenPomAccessor.checkoutMavenPom(File destinationPath) |
boolean |
JGitOperationHelper.checkRevisionExistsInCacheRepository(File repositoryDirectory,
String targetRevision) |
boolean |
GitOperationHelper.checkRevisionExistsInCacheRepository(File repositoryDirectory,
String targetRevision) |
boolean |
NativeGitOperationHelper.checkRevisionExistsInCacheRepository(File repositoryDirectory,
String targetRevision) |
BuildRepositoryChanges |
GitRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
GitHubRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
GitRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey) |
BuildRepositoryChanges |
GitHubRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey) |
BuildRepositoryChanges |
GitRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey,
String customRevision) |
String |
GitRepository.commit(File sourceDirectory,
String message) |
String |
GitHubRepository.commit(File file,
String s) |
String |
JGitOperationHelper.commit(File sourceDirectory,
String message,
String comitterName,
String comitterEmail) |
String |
GitOperationHelper.commit(File sourceDirectory,
String message,
String comitterName,
String comitterEmail) |
String |
NativeGitOperationHelper.commit(File sourceDirectory,
String message,
String committerName,
String comitterEmail) |
static GitOperationHelper |
GitOperationHelperFactory.createGitOperationHelper(AbstractGitExecutor executor,
GitRepositoryAccessData accessData,
SshProxyService sshProxyService,
BuildLogger buildLogger,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
TrustedKeyHelper trustedKeyHelper) |
static GitOperationHelper |
GitOperationHelperFactory.createGitOperationHelper(GitRepository repository,
GitRepositoryAccessData accessData,
SshProxyService sshProxyService,
BuildLogger buildLogger,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
TrustedKeyHelper trustedKeyHelper) |
BuildRepositoryChanges |
JGitOperationHelper.extractCommits(File directory,
String startingRevision,
String endingRevision) |
BuildRepositoryChanges |
GitOperationHelper.extractCommits(File cacheDirectory,
String startingRevision,
String endingRevision) |
BuildRepositoryChanges |
NativeGitOperationHelper.extractCommits(File cacheDirectory,
String startingRevision,
String endingRevision) |
void |
JGitOperationHelper.fetch(File sourceDirectory,
HashAndSource refAndHash,
boolean useShallow) |
void |
GitOperationHelper.fetch(File sourceDirectory,
HashAndSource refAndHash,
boolean useShallow) |
void |
NativeGitOperationHelper.fetch(File sourceDirectory,
HashAndSource hashAndSource,
boolean useShallow) |
void |
JGitOperationHelper.fetch(File sourceDirectory,
String targetRevision,
boolean useShallow) |
void |
GitOperationHelper.fetch(File sourceDirectory,
String targetRevision,
boolean useShallow) |
void |
NativeGitOperationHelper.fetch(File sourceDirectory,
String targetBranchOrRevision,
boolean useShallow) |
String |
JGitOperationHelper.getBranchForSha(File sourceDirectory,
String revision,
String configuredBranch) |
String |
GitOperationHelper.getBranchForSha(File sourceDirectory,
String revision,
String configuredBranch) |
String |
NativeGitOperationHelper.getBranchForSha(File sourceDirectory,
String revision,
String configuredBranch) |
CommitContext |
JGitOperationHelper.getCommit(File directory,
String targetRevision) |
CommitContext |
GitOperationHelper.getCommit(File directory,
String targetRevision)
Gets the commit for the revision, given a working directory.
|
CommitContext |
NativeGitOperationHelper.getCommit(File directory,
String targetRevision) |
String |
JGitOperationHelper.getCurrentRevision(File sourceDirectory) |
String |
GitOperationHelper.getCurrentRevision(File sourceDirectory) |
String |
NativeGitOperationHelper.getCurrentRevision(File sourceDirectory) |
CommitContext |
GitRepository.getFirstCommit() |
CommitContext |
GitHubRepository.getFirstCommit() |
CommitContext |
GitRepository.getLastCommit() |
CommitContext |
GitHubRepository.getLastCommit() |
List<VcsBranch> |
JGitOperationHelper.getOpenBranches(GitRepositoryAccessData repositoryData,
File workingDir) |
List<VcsBranch> |
GitOperationHelper.getOpenBranches(GitRepositoryAccessData repositoryData,
File workingDir) |
List<VcsBranch> |
NativeGitOperationHelper.getOpenBranches(GitRepositoryAccessData repositoryData,
File workingDir) |
List<VcsBranch> |
GitRepository.getOpenBranches(String context) |
List<VcsBranch> |
GitHubRepository.getOpenBranches(String context) |
protected String |
JGitOperationHelper.getRevision(File sourceDirectory,
String revision) |
boolean |
JGitOperationHelper.isAncestor(Path gitWorkspace,
GitHash rev1,
GitHash rev2) |
boolean |
GitOperationHelper.isAncestor(Path gitWorkspace,
GitHash rev1,
GitHash rev2)
Returns true if you can reach rev1 by following parent relationship starting from rev2.
|
boolean |
NativeGitOperationHelper.isAncestor(Path gitWorkspace,
GitHash rev1,
GitHash rev2) |
boolean |
GitOperationHelper.merge(File workspaceDir,
String targetRevision,
String committerName,
String committerEmail) |
boolean |
NativeGitOperationHelper.merge(File workspaceDir,
String targetRevision,
String committerName,
String committerEmail) |
Pair<Boolean,String> |
JGitOperationHelper.mergeAndReturnHead(File workspaceDir,
String currentRevision,
String targetRevision,
String committerName,
String committerEmail) |
Pair<Boolean,String> |
GitOperationHelper.mergeAndReturnHead(File workspaceDir,
String currentRevision,
String targetRevision,
String committerName,
String committerEmail) |
Pair<Boolean,String> |
NativeGitOperationHelper.mergeAndReturnHead(File workspaceDir,
String currentRevision,
String targetRevision,
String committerName,
String committerEmail) |
boolean |
GitRepository.mergeWorkspaceWith(BuildContext buildContext,
File workspaceDir,
String targetRevision) |
boolean |
GitHubRepository.mergeWorkspaceWith(BuildContext buildContext,
File file,
String s) |
HashAndSource |
JGitOperationHelper.obtainLatestRevision() |
HashAndSource |
GitOperationHelper.obtainLatestRevision() |
HashAndSource |
NativeGitOperationHelper.obtainLatestRevision() |
Optional<GitHash> |
GitOperationHelper.obtainLatestRevision(File repositoryDirectory,
GitRef ref,
String path) |
Optional<GitHash> |
NativeGitOperationHelper.obtainLatestRevision(File repositoryDirectory,
GitRef ref,
String path) |
void |
GitRepository.pushRevision(File sourceDirectory,
String vcsRevisionKey) |
void |
JGitOperationHelper.pushRevision(File sourceDirectory,
String revision)
Pushes arbitrary revision (refspec?) back to the upstream repo.
|
void |
GitOperationHelper.pushRevision(File sourceDirectory,
String revision) |
void |
NativeGitOperationHelper.pushRevision(File sourceDirectory,
String revision) |
void |
GitHubRepository.pushRevision(File file,
String s) |
String |
GitRepository.retrieveSourceCode(BuildContext buildContext,
PlanVcsRevisionData planVcsRevisionData,
File sourceDirectory,
int depth) |
String |
GitHubRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevision) |
String |
GitRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
GitHubRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
GitRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth) |
String |
GitHubRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth) |
protected <E extends Throwable,T> |
JGitOperationHelper.withFetchConnection(org.eclipse.jgit.lib.Repository repository,
GitRepositoryAccessData accessData,
JGitOperationHelper.WithFetchConnectionCallback<E,T> callback) |
protected <E extends Throwable,T> |
JGitOperationHelper.withTransport(org.eclipse.jgit.lib.Repository repository,
GitRepositoryAccessData accessData,
JGitOperationHelper.WithTransportCallback<E,T> callback) |
Constructor and Description |
---|
NativeGitOperationHelper(AbstractGitExecutor repository,
GitRepositoryAccessData accessData,
SshProxyService sshProxyService,
BuildLogger buildLogger,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
TrustedKeyHelper trustedKeyHelper) |
NativeGitOperationHelper(GitRepository repository,
GitRepositoryAccessData accessData,
SshProxyService sshProxyService,
BuildLogger buildLogger,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
TrustedKeyHelper trustedKeyHelper) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
BambooSpecsHandlerForGit.detectSpecRevision(VcsRepositoryData repositoryData,
Object source) |
boolean |
BambooSpecsHandlerForGit.isNewer(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
GitWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
BuildRepositoryChanges |
GitChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
GitChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
VcsWorkingCopy |
GitWorkingCopyManager.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
static void |
GitChangeDetector.ensureRevisionExists(GitOperationHelper helper,
File cacheDirectory,
String hashOrRefToFetch,
String targetRevision) |
CommitContext |
GitBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
GitBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
GitBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
GitWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
GitWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
GitWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
VcsWorkingCopy |
GitWorkingCopyManager.updateToLatestRevision(VcsRepositoryData repositoryData,
File targetPath) |
Modifier and Type | Class and Description |
---|---|
class |
HgCommandException
This class types mercurial repository errors in running commands.
|
Modifier and Type | Method and Description |
---|---|
void |
HgRepositoryAccessImpl.archiveSourceCode(File destinationDirectory,
File cacheDirectory,
String vcsRevision,
String[] includePattern) |
void |
HgRepositoryAccess.archiveSourceCode(File destinationDirectory,
File cacheDirectory,
String revision,
String[] includePattern)
"Archive" (as in svn export) contents of specified revision, applying specified --include pattern
|
void |
HgCommandProcessor.checkHgExistenceInSystem(File workingDirectory)
Checks whether mercurial exist in current system.
|
File |
HgMavenPomAccessor.checkoutMavenPom(File destinationPath) |
void |
HgRepositoryAccessImpl.collectChangesetsBetweenRevisions(BuildRepositoryChanges buildChanges,
File planDirectory,
String previousVcsRevisionKey,
String targetRevision,
int maxCommitsToReturn) |
BuildRepositoryChanges |
HgRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
HgRepositoryAccessImpl.collectChangesSinceLastBuild(File cacheDirectory,
String previousVcsRevisionKey,
int maxCommitsToReturn) |
BuildRepositoryChanges |
HgRepositoryAccess.collectChangesSinceLastBuild(File cacheDirectory,
String previousRevision,
int maxCommitsToReturn)
Checks whether remote repository has newer revision(s).
|
BuildRepositoryChanges |
HgRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey) |
String |
HgRepository.commit(File sourceDirectory,
String message) |
Pair<ArrayList<CommitContext>,Integer> |
HgCommandProcessor.getChangesetsSinceRevision(File workingDirectory,
String branch,
String previousRevision,
String targetRevision,
int maxCommitsToReturn)
Returns list of commit extracted from hg log command.
|
CommitContext |
HgRepository.getFirstCommit() |
CommitContext |
HgRepositoryAccessImpl.getFirstCommit(File cacheDirectory) |
CommitContext |
HgRepositoryAccess.getFirstCommit(File cacheDirectory) |
CommitContext |
HgCommandProcessor.getFirstCommit(File workingDirectory,
String branchName) |
List<CommitContext> |
HgCommandProcessor.getHeads(File workingDirectory,
String repositoryUrl,
String branchName) |
CommitContext |
HgRepository.getLastCommit() |
CommitContext |
HgRepositoryAccessImpl.getLastCommit(File cacheDirectory) |
CommitContext |
HgRepositoryAccess.getLastCommit(File cacheDirectory) |
String |
HgRepositoryAccessImpl.getLatestRemoteRevisionHash(File workingDirectory) |
String |
HgRepositoryAccess.getLatestRemoteRevisionHash(File workingDirectory)
Returns the latest 40-character hash code of the tip-most change set in remote repository.
|
String |
HgCommandProcessor.getLocalTipInDirectory(File workingDirectory,
String branch)
Returns 40char hash code of the tip-most changeset in repository contained in workingDirectory (or it parents).
|
List<VcsBranch> |
HgRepository.getOpenBranches(String context) |
String |
HgRepositoryAccessImpl.getProxiedUrl(String connectionDescription) |
String |
HgCommandProcessor.getRemoteTipForBranch(File workingDirectory,
String repositoryUrl,
String branch)
Returns 40char hash code of the tip-most changeset in remote repository.
|
int |
HgCommandProcessor.getTotalChangesetsCountSinceRevision(File workingDirectory,
HgCommandBuilder commandBuilder)
Returns total count of commits since previousRevision up to tip revision.
|
boolean |
HgCommandProcessor.merge(File workspace,
String targetRevision) |
boolean |
HgRepository.mergeWorkspaceWith(BuildContext buildContext,
File workspace,
String targetRevision) |
void |
HgRepositoryAccessImpl.pullToLocalDirectory(File directory,
String repositoryUrl,
String targetRevision) |
void |
HgRepository.pushRevision(File sourceDirectory,
String vcsRevisionKey) |
String |
HgRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
HgRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth)
So far mercurial cannot retrieve a "shallow" clone of repository so we're ignoring depth argument
|
String |
HgRepositoryAccessImpl.retrieveSourceCode(File sourceDirectory,
File cacheDirectory,
String vcsRevision) |
String |
HgRepositoryAccess.retrieveSourceCode(File sourceDirectory,
File cacheDirectory,
String targetRevision)
Updates sources in sourceDirectory from remote repository to targetRevision.
|
String |
HgRepositoryAccessImpl.retrieveSourceCode(File sourceDirectory,
File cacheDirectory,
String vcsRevision,
int attempt) |
void |
HgCommandProcessor.runArchiveCommand(File destinationDirectory,
File repository,
String revision,
String[] includePattern)
Archives (exports) contents of specified revision, applying the optional include pattern.
|
void |
HgCommandProcessor.runCloneCommand(File workingDirectory,
String repositoryUrl,
String revision)
Clones remote repository into local directory.
|
void |
HgCommandProcessor.runCommand(HgCommandBuilder commandBuilder,
File workingDirectory) |
void |
HgCommandProcessor.runCommand(HgCommandBuilder commandBuilder,
File workingDirectory,
com.atlassian.bamboo.plugins.hg.HgCommandProcessor.HgOutputHandler outputHandler,
com.google.common.collect.ImmutableMap<String,String> env) |
void |
HgCommandProcessor.runInitCommand(File workingDirectory)
Creates .hg repository in a given directory.
|
void |
HgCommandProcessor.runPullCommand(File workingDirectory,
String repositoryUrl,
String revision)
Updates (pulls changesets from remote repository) workingDirectory to specified revision.
|
void |
HgCommandProcessor.runUpdateCommand(File workingDirectory,
String revision)
Updates working copy in workingDirectory to specified revision.
|
Constructor and Description |
---|
HgRepositoryAccessImpl(HgRepositoryAccessData substitutedAccessData,
BuildLogger buildLogger,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
SshProxyService sshProxyService,
ScopedExclusionService exclusionService,
TrustedKeyHelper trustedKeyHelper,
CapabilityContext capabilityContext,
File workingDirectory) |
HgRepositoryAccessImpl(HgRepository repository,
BuildLogger buildLogger,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
SshProxyService sshProxyService,
ScopedExclusionService exclusionService,
TrustedKeyHelper trustedKeyHelper,
CapabilityContext capabilityContext) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
MercurialWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
BuildRepositoryChanges |
MercurialChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
MercurialChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
VcsWorkingCopy |
MercurialWorkingCopyManager.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
CommitContext |
MercurialBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
protected HgRepositoryAccessImpl |
AbstractMercurialExecutor.getHgRepoAccess(HgRepositoryAccessData substitutedAccessData,
BuildLogger logger) |
protected HgRepositoryAccessImpl |
AbstractMercurialExecutor.getHgRepoAccess(VcsRepositoryData repositoryData,
BuildLogger logger) |
CommitContext |
MercurialBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
MercurialBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
MercurialWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
MercurialWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
MercurialWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
VcsWorkingCopy |
MercurialWorkingCopyManager.updateToLatestRevision(VcsRepositoryData repositoryData,
File targetPath) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
StashRepositoryImpl.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
StashRepositoryImpl.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey) |
String |
StashRepositoryImpl.commit(File sourceDirectory,
String message) |
CommitContext |
StashRepositoryImpl.getFirstCommit() |
CommitContext |
StashRepositoryImpl.getLastCommit() |
List<VcsBranch> |
StashRepositoryImpl.getOpenBranches(String context) |
List<VcsPullRequest> |
BitbucketServerPullRequestDetector.getOpenPullRequests(VcsRepositoryData repositoryData) |
boolean |
StashRepositoryImpl.mergeWorkspaceWith(BuildContext buildContext,
File checkoutDirectory,
String targetRevision) |
void |
StashRepositoryImpl.pushRevision(File sourceDirectory,
String vcsRevisionKey) |
String |
StashRepositoryImpl.retrieveSourceCode(BuildContext buildContext,
PlanVcsRevisionData planVcsRevisionData,
File sourceDirectory,
int depth) |
String |
StashRepositoryImpl.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
StashRepositoryImpl.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidStashRepositoryException
We need to know that exception is Stash related.
|
class |
StashRepositoryException |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
CommitContext |
BitbucketServerBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
BitbucketServerBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
BitbucketServerBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.updateToLatestRevision(VcsRepositoryData repositoryData,
File targetPath) |
Modifier and Type | Class and Description |
---|---|
class |
HostKeyVerificationException
When SSH transport is used for server access and its key doesn't exists in Trusted keys.
|
class |
InvalidRepositoryException
An exception when the repository is invalid and should be handled
|
class |
RepositoryBranchDeletedException |
Modifier and Type | Method and Description |
---|---|
File |
MavenPomAccessor.checkoutMavenPom(File destinationPath)
Checkout Maven POM and return File pointing to the project file
|
BuildRepositoryChanges |
AbstractRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision)
Deprecated.
|
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> |
RepositoryCachingFacadeImpl.getOpenBranches(BranchDetectionCapableRepository repository,
String context) |
List<VcsBranch> |
RepositoryCachingFacade.getOpenBranches(BranchDetectionCapableRepository repository,
String context)
Deprecated.
|
List<VcsBranch> |
BranchDetectionCapableRepository.getOpenBranches(String context)
Deprecated.
Set of open branches that are discovered in the repository. |
List<VcsBranch> |
RepositoryCachingFacadeImpl.getOpenBranches(VcsBranchDetector branchDetector,
VcsRepositoryData repositoryData) |
List<VcsBranch> |
RepositoryCachingFacade.getOpenBranches(VcsBranchDetector branchDetector,
VcsRepositoryData repositoryData) |
List<VcsPullRequest> |
RepositoryCachingFacadeImpl.getOpenPullRequests(VcsPullRequestDetector pullRequestDetector,
VcsRepositoryData repositoryData) |
List<VcsPullRequest> |
RepositoryCachingFacade.getOpenPullRequests(VcsPullRequestDetector pullRequestDetector,
VcsRepositoryData repositoryData) |
File |
AbstractRepository.getSourceCodeDirectory(PlanKey planKey)
Deprecated.
For Subversion, we use the build name's directory within the system's working directory
|
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 |
---|---|
File |
CvsRepositoryMavenPomAccessor.checkoutMavenPom(File destinationPath) |
BuildRepositoryChanges |
CVSRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey)
Gets the code since the link
|
File |
CVSRepository.getSourceCodeDirectory(PlanKey planKey)
Deprecated.
since 3.3
|
String |
CVSRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey)
Deprecated.
since 3.3
|
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
NullRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey) |
String |
NullRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
Modifier and Type | Method and Description |
---|---|
File |
PerforceRepositoryMavenPomAccessor.checkoutMavenPom(File destinationPath) |
BuildRepositoryChanges |
PerforceRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
PerforceRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey)
Access the perforce repository to retrieve change logs since the lastVCSRevisionKey
|
List<Commit> |
PerforceManager.getChangeLogEntries(com.tek42.perforce.Depot perforceDepot,
List<Integer> changeNumbers)
Retrieves a list of Bamboo Commit including Commit Files based on list of change numbers
|
List<Integer> |
PerforceManager.getChangeNumbersFromRevision(com.tek42.perforce.Depot perforceDepot,
String clientViewDepot,
int lastRevisionInBamboo,
boolean useClientMapping) |
List<Integer> |
PerforceManager.getChangeNumsBetweenRevisions(com.tek42.perforce.Depot perforceDepot,
String depot,
int firstRevision,
int secondRevision,
boolean useClientMapping)
Retrieves a list of change log numbers after the first number and up to (and including) the second number for the depot.
|
String |
PerforceManager.getClientRoot(com.tek42.perforce.Depot perforceDepot)
Retrieves the workspace root as defined in the client configuration
|
int |
PerforceManager.getLatestChangeNumber(com.tek42.perforce.Depot perforceDepot,
String depot,
int latestRevisionInBamboo,
boolean useClientMapping)
retrieves the latest change list number on the perforce server for comparison to the one stored in Bamboo
|
File |
PerforceRepository.getSourceCodeDirectory(PlanKey planKey)
Retrieves the location that the build will occur.
|
String |
PerforceRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey)
Checkout the sourcecode as at the vcsRevisionKey, if revisionKey is null source will be checked out from head
|
void |
PerforceManager.setupSync(com.tek42.perforce.Depot perforceDepot,
File sourceDirectory)
Sets the directory for perforce to check the code out to.
|
void |
PerforceManager.syncToHead(com.tek42.perforce.Depot perforceDepot,
String depot,
boolean forceSync)
Syncs the source code to head
|
void |
PerforceManager.syncToRevision(com.tek42.perforce.Depot perforceDepot,
String depot,
int revisionNumber,
boolean forceSync)
Syncs the source code to a specific revision number
|
Modifier and Type | Method and Description |
---|---|
long |
SvnRepository.checkout(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision,
File dstPath,
boolean isRecursive)
Checks out a working copy from a repository.
|
File |
SvnRepositoryMavenPomAccessor.checkoutMavenPom(File destinationPath) |
BuildRepositoryChanges |
SvnRepository.collectChangesForRevision(PlanKey planKey,
String targetRevision) |
BuildRepositoryChanges |
SvnRepository.collectChangesSinceLastBuild(String planKey,
PlanVcsRevisionData revisionData) |
BuildRepositoryChanges |
SvnRepository.collectChangesSinceLastBuild(String planKey,
String lastVcsRevisionKey) |
void |
SvnRepository.createBranch(long repositoryId,
String branchName,
BuildContext buildContext) |
void |
SvnRepository.createTag(long repositoryId,
String tagName,
BuildContext buildContext) |
long |
SvnRepository.export(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision,
File dstPath,
boolean isRecursive) |
CommitContext |
SvnRepository.getFirstCommit() |
CommitContext |
SvnRepository.getLastCommit() |
List<VcsBranch> |
SvnRepository.getOpenBranches(String context) |
org.tmatesoft.svn.core.wc.SVNInfo |
SvnRepository.info(org.tmatesoft.svn.core.SVNURL url,
org.tmatesoft.svn.core.wc.SVNRevision revision)
Runs 'svn info' operation on a given URL.
|
String |
SvnRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
Modifier and Type | Method and Description |
---|---|
BuildRepositoryChanges |
SvnChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
SvnChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData revisionData) |
void |
SvnBranchCreator.createBranch(VcsRepositoryData repositoryData,
String branchName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
void |
SvnTagCreator.createTag(VcsRepositoryData repositoryData,
String tagName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
CommitContext |
SvnBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
SvnBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
SvnBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
SvnWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
SvnWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
VcsWorkingCopy |
SvnWorkingCopyManager.updateToLatestRevision(VcsRepositoryData repositoryData,
File targetPath) |
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 |
---|---|
CommonContext |
InitializeBuild.call(CommonContext commonContext,
ReadOnlyCapabilitySet capabilitySet) |
Modifier and Type | Method and Description |
---|---|
BuildChanges |
DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(ImmutableChain chain,
Map<String,String> customVariableValues,
String customRevision) |
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 |
DefaultChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData) |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData)
Given a
PlanRepositoryDefinition finds the BuildChanges object that captures all changes that occurred
between the fromVcsRevisionKey to toVcsRevisionKey |
BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData) |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesBetween(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData fromVcsRevisionData,
PlanVcsRevisionData toVcsRevisionData)
|
BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision) |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision)
Given a
PlanRepositoryDefinition finds the BuildRepositoryChanges object that captures all changes
that occurred since the lastVcsRevisionKey to the current latest found on the repository. |
BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision) |
BuildRepositoryChanges |
ChangeDetectionManager.collectChangesSinceLastBuild(ImmutableChain chain,
RepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision)
|
BuildChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(ImmutableChain chain,
Map<String,String> customVariableValues,
Set<Long> triggeringRepositories) |
BuildChanges |
ChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(ImmutableChain chain,
Map<String,String> customVariableValues,
Set<Long> triggeringRepositories)
Collect changes for a plan since the last build.
|
BuildChanges |
ScheduledBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
AbstractDependentDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
ManualBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
ChildDependencyBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
void |
DefaultChangeDetectionManager.updateIntegrationRepositoryDetails(ImmutableChain chain,
BuildChanges buildChanges) |
void |
ChangeDetectionManager.updateIntegrationRepositoryDetails(ImmutableChain chain,
BuildChanges buildChanges) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
BambooSpecsHandler.detectSpecRevision(VcsRepositoryData repositoryData,
Object source) |
boolean |
BambooSpecsHandler.isNewer(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
LegacyWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
BuildRepositoryChanges |
LegacyChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
LegacyChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
VcsWorkingCopy |
LegacyWorkingCopyManager.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
CommitContext |
LegacyBranchDetector.getFirstCommit(VcsRepositoryData repositoryData) |
CommitContext |
LegacyBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
LegacyBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
File |
LegacyFixedDirectoryWorkingCopyManager.getWorkingCopyPath(CommonContext commonContext,
VcsRepositoryData repositoryData) |
VcsWorkingCopy |
LegacyFixedDirectoryWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision) |
VcsWorkingCopy |
LegacyFixedDirectoryWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
LegacyWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
LegacyWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
LegacyFixedDirectoryWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
VcsWorkingCopy |
LegacyWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
Modifier and Type | Method and Description |
---|---|
default File |
VcsMavenPomAccessor.findPomFileInWorkingCopy(VcsWorkingCopy checkoutDirectory,
String mavenPath)
Look for maven in the current directory or throw exception if not found.
|
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
MergingVcsWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath)
Checks out the targetBranch and merges sourceBranch to it.
|
BuildRepositoryChanges |
VcsChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
VcsChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
VcsWorkingCopy |
UpdatingVcsWorkingCopyManager.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage)
Create a local commit.
|
void |
VcsBranchCreator.createBranch(VcsRepositoryData repositoryData,
String branchName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger)
Creates new branch from revision vcsRevisionKey with given branchName.
|
void |
VcsTagCreator.createTag(VcsRepositoryData repositoryData,
String tagName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger)
Creates new tag from revision vcsRevisionKey with given tagName.
|
default CommitContext |
VcsBranchDetector.getFirstCommit(VcsRepositoryData repositoryData)
Deprecated.
since 6.0 use/implement
VcsBranchDetector.getFirstCommitApproximation(VcsRepositoryData) instead |
default CommitContext |
VcsBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData)
Retrieve an old, preferably the first commit on a branch.
|
CommitContext |
VcsBranchDetector.getLastCommit(VcsRepositoryData repositoryData)
Retrieve last commit on the branch set on this Repository.
|
List<VcsBranch> |
VcsBranchDetector.getOpenBranches(VcsRepositoryData repositoryData)
Set of open branches that are discovered in the repository. |
List<VcsPullRequest> |
VcsPullRequestDetector.getOpenPullRequests(VcsRepositoryData repositoryData)
List of open pull requests that are discovered in the repository. |
File |
FixedDirectoryWorkingCopyManager.getWorkingCopyPath(CommonContext commonContext,
VcsRepositoryData repositoryData)
Deprecated.
Based on configuration and current context produce absolute path to the working copy.
|
VcsWorkingCopy |
FixedDirectoryWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision)
Deprecated.
Checkout or update a working copy to a revision.
|
VcsWorkingCopy |
VcsWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath)
Checkout or update a working copy to a revision.
|
default VcsWorkingCopy |
FixedDirectoryWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath)
Deprecated.
If you can implement this correctly using targetPath,
then you should not be implementing this interface.
|
VcsWorkingCopy |
UpdatingVcsWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage)
Update remoter repository.
|
VcsWorkingCopy |
VcsWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath)
Checkout or update a working copy to the latest revision.
|
default VcsWorkingCopy |
FixedDirectoryWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath)
Deprecated.
If you can implement this, then you should not be implementing this interface.
|
VcsWorkingCopy |
NoContextVcsWorkingCopyManager.updateToLatestRevision(VcsRepositoryData repositoryData,
File targetPath)
Checkout or update a working copy to the latest revision.
|
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.