Modifier and Type | Method and Description |
---|---|
BuildChanges |
UnconditionalBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryStoredSpecsService.runBambooSpecs(SpecsConsumer specsConsumer,
VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
VcsRepositoryData repository,
VcsBranch vcsBranch,
VcsLocationBambooSpecsState specsState,
List<CommitContext> commits,
boolean shouldReportMissingSpecs)
Execute Bamboo Specs and import results
|
boolean |
RssDetectionServiceImpl.runRssDetection(long repositoryId,
VcsBranch vcsBranch,
boolean forced,
SpecsConsumer specsConsumer)
Runs Repository-stored Specs detection for the given repository.
|
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 |
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.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable) |
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) |
void |
BitbucketCloudBranchCreator.createBranch(VcsRepositoryData repositoryData,
String branchName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
void |
BitbucketCloudTagCreator.createTag(VcsRepositoryData repositoryData,
String tagName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
Optional<String> |
BitbucketCloudBambooSpecsHandler.detectSpecRevision(VcsRepositoryData repositoryData,
Object source) |
List<CommitContext> |
BitbucketCloudBambooSpecsHandler.findCommitsToSpecs(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
List<TagAndRevision> |
BitbucketCloudTagsHandler.getAllTagsFromRepository(VcsRepositoryData vcsRepositoryData) |
CommitContext |
BitbucketCloudBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
BitbucketCloudBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
BitbucketCloudBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
List<VcsPullRequest> |
BitbucketCloudPullRequestDetector.getOpenPullRequests(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.getWorkingCopyInfo(VcsRepositoryData repositoryData,
File checkoutPath) |
boolean |
BitbucketCloudTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
BitbucketCloudBambooSpecsHandler.isNewer(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
boolean |
BitbucketCloudCommitCommenter.publishComment(VcsRepositoryData repositoryData,
String commitId,
String payload) |
boolean |
BitbucketCloudCommitCommenter.publishRssStatus(VcsRepositoryData repositoryData,
String commitId,
com.atlassian.event.Event event) |
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
void |
BitbucketCloudWorkingCopyManager.stageChanges(VcsWorkingCopy workingCopy,
VcsRepositoryData repositoryData,
Collection<String> pathsToAdd) |
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 void |
NativeGitOperationHelper.afterRepositoryAccess(GitRepositoryAccessData accessData) |
protected GitRepositoryAccessData |
NativeGitOperationHelper.beforeRepositoryAccess(GitRepositoryAccessData accessData)
Wrap with proxy if needed.
|
String |
JGitOperationHelper.checkout(File cacheDirectory,
File sourceDirectory,
String targetRevision,
String previousRevision) |
String |
NativeGitOperationHelper.checkout(File cacheDirectory,
File sourceDirectory,
String targetRevision,
String ignored) |
String |
GitOperationHelper.checkout(File cacheDirectory,
File sourceDirectory,
String targetRevision,
String previousRevision) |
File |
GitMavenPomAccessor.checkoutMavenPom(File destinationPath) |
boolean |
JGitOperationHelper.checkRevisionExistsInCacheRepository(File repositoryDirectory,
String targetRevision) |
boolean |
NativeGitOperationHelper.checkRevisionExistsInCacheRepository(File repositoryDirectory,
String targetRevision) |
boolean |
GitOperationHelper.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) |
boolean |
GitHubAccessor.commentOnCommit(String commitId,
VcsRepositoryData repositoryData,
String message) |
String |
GitRepository.commit(File sourceDirectory,
String message) |
String |
GitHubRepository.commit(File file,
String s) |
default String |
GitOperationHelper.commit(File sourceDirectory,
String message,
String committerName,
String committerEmail) |
String |
JGitOperationHelper.commit(File sourceDirectory,
String message,
String committerName,
String committerEmail,
boolean stageModifications) |
String |
NativeGitOperationHelper.commit(File sourceDirectory,
String message,
String committerName,
String committerEmail,
boolean stageModifications) |
String |
GitOperationHelper.commit(File sourceDirectory,
String message,
String committerName,
String committerEmail,
boolean stageModifications) |
void |
JGitOperationHelper.createBranch(File sourceDirectory,
String branchName) |
void |
NativeGitOperationHelper.createBranch(File sourceDirectory,
String branchName) |
void |
GitOperationHelper.createBranch(File sourceDirectory,
String branchName) |
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) |
void |
JGitOperationHelper.createLightweightTag(File sourceDirectory,
String tagName,
String revision) |
void |
NativeGitOperationHelper.createLightweightTag(File sourceDirectory,
String tagName,
String revision) |
void |
GitOperationHelper.createLightweightTag(File sourceDirectory,
String tagName,
String revision) |
BuildRepositoryChanges |
JGitOperationHelper.extractCommits(File directory,
String startingRevision,
String endingRevision) |
BuildRepositoryChanges |
NativeGitOperationHelper.extractCommits(File cacheDirectory,
String startingRevision,
String endingRevision) |
BuildRepositoryChanges |
GitOperationHelper.extractCommits(File cacheDirectory,
String startingRevision,
String endingRevision) |
BuildRepositoryChanges |
JGitOperationHelper.extractCommits(File cacheDirectory,
String startingRevision,
String endingRevision,
String path) |
BuildRepositoryChanges |
NativeGitOperationHelper.extractCommits(File cacheDirectory,
String startingRevision,
String endingRevision,
String path) |
BuildRepositoryChanges |
GitOperationHelper.extractCommits(File cacheDirectory,
String startingRevision,
String endingRevision,
String path) |
BuildRepositoryChanges |
NativeGitOperationHelper.extractCommitsBetweenBranches(File cacheDirectory,
VcsBranch otherBranch,
boolean limitChangeList) |
BuildRepositoryChanges |
GitOperationHelper.extractCommitsBetweenBranches(File cacheDirectory,
VcsBranch otherBranch,
boolean limitChangeList) |
void |
JGitOperationHelper.fetch(File sourceDirectory,
HashAndSource refAndHash,
boolean useShallow) |
void |
NativeGitOperationHelper.fetch(File sourceDirectory,
HashAndSource hashAndSource,
boolean useShallow) |
void |
GitOperationHelper.fetch(File sourceDirectory,
HashAndSource refAndHash,
boolean useShallow) |
void |
JGitOperationHelper.fetch(File sourceDirectory,
String targetRevision,
boolean useShallow) |
void |
NativeGitOperationHelper.fetch(File sourceDirectory,
String targetBranchOrRevision,
boolean useShallow) |
void |
GitOperationHelper.fetch(File sourceDirectory,
String targetRevision,
boolean useShallow) |
List<TagAndRevision> |
RemoteTagsOutputHandler.finalizeAndGetTags() |
Optional<String> |
JGitOperationHelper.getBranchForSha(File sourceDirectory,
String revision,
String configuredBranch) |
Optional<String> |
NativeGitOperationHelper.getBranchForSha(File sourceDirectory,
String revision,
String configuredBranch) |
Optional<String> |
GitOperationHelper.getBranchForSha(File sourceDirectory,
String revision,
String configuredBranch) |
CommitContext |
JGitOperationHelper.getCommit(File directory,
String targetRevision) |
CommitContext |
NativeGitOperationHelper.getCommit(File directory,
String targetRevision) |
CommitContext |
GitOperationHelper.getCommit(File directory,
String targetRevision)
Gets the commit for the revision, given a working directory.
|
String |
JGitOperationHelper.getCurrentBranch(File checkoutPath) |
String |
NativeGitOperationHelper.getCurrentBranch(File checkoutPath) |
String |
GitOperationHelper.getCurrentBranch(File checkoutPath) |
String |
JGitOperationHelper.getCurrentRevision(File sourceDirectory) |
String |
NativeGitOperationHelper.getCurrentRevision(File sourceDirectory) |
String |
GitOperationHelper.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> |
NativeGitOperationHelper.getOpenBranches(GitRepositoryAccessData repositoryData,
File workingDir) |
List<VcsBranch> |
GitOperationHelper.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) |
List<TagAndRevision> |
JGitOperationHelper.getTagsForRepository(GitRepositoryAccessData accessData) |
List<TagAndRevision> |
NativeGitOperationHelper.getTagsForRepository(GitRepositoryAccessData accessData) |
List<TagAndRevision> |
GitOperationHelper.getTagsForRepository(GitRepositoryAccessData accessData) |
boolean |
JGitOperationHelper.isAncestor(Path gitWorkspace,
GitHash rev1,
GitHash rev2) |
boolean |
NativeGitOperationHelper.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 |
JGitOperationHelper.isClean(File sourceDirectory) |
boolean |
NativeGitOperationHelper.isClean(File sourceDirectory) |
boolean |
GitOperationHelper.isClean(File sourceDirectory) |
boolean |
NativeGitOperationHelper.merge(File workspaceDir,
String targetRevision,
String committerName,
String committerEmail) |
boolean |
GitOperationHelper.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> |
NativeGitOperationHelper.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) |
boolean |
GitRepository.mergeWorkspaceWith(BuildContext buildContext,
File workspaceDir,
String targetRevision) |
boolean |
GitHubRepository.mergeWorkspaceWith(BuildContext buildContext,
File file,
String s) |
HashAndSource |
JGitOperationHelper.obtainLatestRevision() |
HashAndSource |
NativeGitOperationHelper.obtainLatestRevision() |
HashAndSource |
GitOperationHelper.obtainLatestRevision() |
Optional<GitHash> |
NativeGitOperationHelper.obtainLatestRevision(File repositoryDirectory,
GitRef ref,
String path) |
Optional<GitHash> |
GitOperationHelper.obtainLatestRevision(File repositoryDirectory,
GitRef ref,
String path) |
void |
JGitOperationHelper.pushBranchOrTag(File sourceDirectory,
String branchName) |
void |
NativeGitOperationHelper.pushBranchOrTag(File sourceDirectory,
String refName) |
void |
GitOperationHelper.pushBranchOrTag(File sourceDirectory,
String refName) |
void |
GitRepository.pushRevision(File sourceDirectory,
String vcsRevisionKey) |
void |
GitHubRepository.pushRevision(File file,
String s) |
void |
JGitOperationHelper.pushRevision(File sourceDirectory,
String revision,
String currentBranch)
Pushes arbitrary revision (refspec?) back to the upstream repo.
|
void |
NativeGitOperationHelper.pushRevision(File sourceDirectory,
String revision,
String currentBranch) |
void |
GitOperationHelper.pushRevision(File sourceDirectory,
String revision,
String currentBranch) |
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) |
void |
JGitOperationHelper.stageChanges(File sourceDirectory,
Collection<String> filePaths) |
void |
NativeGitOperationHelper.stageChanges(File sourceDirectory,
Collection<String> filePaths) |
void |
GitOperationHelper.stageChanges(File sourceDirectory,
Collection<String> pathsToAdd) |
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 |
---|---|
VcsWorkingCopy |
GitWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
BuildRepositoryChanges |
GitChangeDetector.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData vcsRepositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable) |
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) |
void |
GitBranchCreator.createBranch(VcsRepositoryData repositoryData,
String branchName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
void |
GitTagCreator.createTag(VcsRepositoryData repositoryData,
String tagName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
Optional<String> |
GitBambooSpecsHandler.detectSpecRevision(VcsRepositoryData repositoryData,
Object source) |
static void |
GitChangeDetector.ensureRevisionExists(GitOperationHelper helper,
File cacheDirectory,
String hashOrRefToFetch,
String targetRevision) |
List<CommitContext> |
GitBambooSpecsHandler.findCommitsToSpecs(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
List<TagAndRevision> |
GitTagsHandler.getAllTagsFromRepository(VcsRepositoryData vcsRepositoryData) |
CommitContext |
GitBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
GitBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
GitBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
GitWorkingCopyManager.getWorkingCopyInfo(VcsRepositoryData repositoryData,
File checkoutPath) |
boolean |
GitTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
GitBambooSpecsHandler.isNewer(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
VcsWorkingCopy |
GitWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
void |
GitWorkingCopyManager.stageChanges(VcsWorkingCopy workingCopy,
VcsRepositoryData repositoryData,
Collection<String> pathsToAdd) |
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 | Method and Description |
---|---|
VcsWorkingCopy |
GitHubWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable) |
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
String customRevision) |
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesSinceRevision(PlanKey planKey,
VcsRepositoryData repositoryData,
PlanVcsRevisionData lastRevisionData) |
VcsWorkingCopy |
GitHubWorkingCopyManager.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
Optional<String> |
GitHubBambooSpecsHandler.detectSpecRevision(VcsRepositoryData repositoryData,
Object source) |
List<CommitContext> |
GitHubBambooSpecsHandler.findCommitsToSpecs(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
List<TagAndRevision> |
GitHubTagsHandler.getAllTagsFromRepository(VcsRepositoryData vcsRepositoryData) |
CommitContext |
GitHubBranchDetector.getFirstCommit(VcsRepositoryData repositoryData) |
CommitContext |
GitHubBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
GitHubBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
GitHubBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
boolean |
GitHubTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
GitHubBambooSpecsHandler.isNewer(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
boolean |
GitHubCommitCommenter.publishComment(VcsRepositoryData repositoryData,
String commitId,
String payload) |
boolean |
GitHubCommitCommenter.publishRssStatus(VcsRepositoryData repositoryData,
String commitId,
com.atlassian.event.Event event) |
VcsWorkingCopy |
GitHubWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
GitHubWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
GitHubWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
VcsWorkingCopy |
GitHubWorkingCopyManager.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.
|
String |
HgCommandProcessor.getCurrentBranch(File checkoutPath) |
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.getLocalChangesetId(File workingDirectory)
Returns 40char hash code of the current revision in 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.isWorkingCopyClean(File workingDirectory)
Checks whether the directory is at clean state (no uncommitted changes).
|
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) |
protected VcsWorkingCopy |
AbstractMercurialExecutor.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
MercurialWorkingCopyManager.commitLocal(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
void |
MercurialBranchCreator.createBranch(VcsRepositoryData repositoryData,
String branchName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
void |
MercurialTagCreator.createTag(VcsRepositoryData repositoryData,
String tagName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
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> |
AbstractMercurialExecutor.getOpenBranches(VcsRepositoryData repositoryData) |
protected VcsWorkingCopy |
AbstractMercurialExecutor.getWorkingCopyInfo(VcsRepositoryData vcsRepositoryData,
File checkoutPath) |
VcsWorkingCopy |
MercurialWorkingCopyManager.getWorkingCopyInfo(VcsRepositoryData repositoryData,
File checkoutPath) |
VcsWorkingCopy |
MercurialWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
void |
MercurialWorkingCopyManager.stageChanges(VcsWorkingCopy workingCopy,
VcsRepositoryData repositoryData,
Collection<String> pathsToAdd) |
protected VcsWorkingCopy |
AbstractMercurialExecutor.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
MercurialWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
protected VcsWorkingCopy |
AbstractMercurialExecutor.updateRemoteWithNewBranch(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String branchName) |
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) |
void |
BitbucketServerBuildWarningsUpdater.deleteBuildWarnings(VcsRepositoryData repository,
String changeSetId,
ImmutableChainResultsSummary resultsSummary) |
CommitContext |
StashRepositoryImpl.getFirstCommit() |
CommitContext |
StashRepositoryImpl.getLastCommit() |
List<VcsBranch> |
StashRepositoryImpl.getOpenBranches(String context) |
List<VcsPullRequest> |
BitbucketServerPullRequestDetector.getOpenPullRequests(VcsRepositoryData repositoryData) |
protected com.atlassian.stash.rest.client.api.entity.Page<com.atlassian.stash.rest.client.api.entity.PullRequestStatus> |
BitbucketServerPullRequestDetector.getPullRequestsByRepository(com.atlassian.applinks.api.ApplicationLink applicationLink,
String project,
String repoSlug,
Integer startIndex,
long limit,
long repositoryId) |
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) |
boolean |
BitbucketServerBuildWarningsUpdater.sendBuildWarnings(VcsRepositoryData repository,
String changesetId,
ImmutableChainResultsSummary resultsSummary,
BuildWarningSummary warningSummary,
Iterable<WarningAnnotation> warnings) |
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.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable) |
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) |
void |
BitbucketServerBranchCreator.createBranch(VcsRepositoryData repositoryData,
String branchName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
void |
BitbucketServerTagCreator.createTag(VcsRepositoryData repositoryData,
String tagName,
String vcsRevisionKey,
String checkoutLocation,
BuildLogger buildLogger) |
Optional<String> |
BitbucketServerBambooSpecsHandler.detectSpecRevision(VcsRepositoryData repositoryData,
Object source) |
List<CommitContext> |
BitbucketServerBambooSpecsHandler.findCommitsToSpecs(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
List<TagAndRevision> |
BitbucketServerTagsHandler.getAllTagsFromRepository(VcsRepositoryData vcsRepositoryData) |
CommitContext |
BitbucketServerBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
BitbucketServerBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
BitbucketServerBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.getWorkingCopyInfo(VcsRepositoryData repositoryData,
File checkoutPath) |
boolean |
BitbucketServerTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
BitbucketServerBambooSpecsHandler.isNewer(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
void |
BitbucketServerWorkingCopyManager.stageChanges(VcsWorkingCopy workingCopy,
VcsRepositoryData repositoryData,
Collection<String> pathsToAdd) |
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 | Method and Description |
---|---|
javax.ws.rs.core.Response |
RepositoryResource.deleteBuildWarnings(long repositoryId,
String resultKeyString) |
javax.ws.rs.core.Response |
RepositoryResource.sendBuildWarnings(long repositoryId,
String resultKeyString,
RestBuildWarnings request) |
boolean |
RepositoryResource.sendCommitComment(String repositoryName,
Map<String,String> body)
Used for testing of commit comment functionality.
|
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> |
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)
Retrieve open branches from the given repository.
|
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) |
Optional<String> |
SvnBambooSpecsHandler.detectSpecRevision(VcsRepositoryData repositoryData,
Object source) |
List<CommitContext> |
SvnBambooSpecsHandler.findCommitsToSpecs(VcsRepositoryData repositoryData,
String rev1,
String rev2) |
CommitContext |
SvnBranchDetector.getFirstCommitApproximation(VcsRepositoryData repositoryData) |
CommitContext |
SvnBranchDetector.getLastCommit(VcsRepositoryData repositoryData) |
List<VcsBranch> |
SvnBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
VcsWorkingCopy |
SvnWorkingCopyManager.getWorkingCopyInfo(VcsRepositoryData repositoryData,
File checkoutPath) |
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
This method suppresses quiet period settings and returns changes immediately. |
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. |
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.
|
protected BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(ImmutableChain chain,
PlanRepositoryDefinition repositoryDefinition,
PlanVcsRevisionData lastVcsRevisionData,
Map<String,String> customVariableValues,
String customRevision,
boolean isBuildTrigger,
boolean suppressQuietPeriod) |
BuildChanges |
TagBuildAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
ManualBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
ScheduledBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
AbstractDependentDetectionAction.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)
Attempts to obtain latest revision from the repository which may have changed Bamboo Specs.
|
List<CommitContext> |
BambooSpecsHandler.findCommitsToSpecs(VcsRepositoryData repositoryData,
String rev1,
String rev2)
Extracts a list of commits related to Bamboo Specs, which occurred between revisions
rev1 and
rev2 . |
boolean |
BambooSpecsHandler.isNewer(VcsRepositoryData repositoryData,
String rev1,
String rev2)
Returns true if
rev2 is a newer revision in the repository than rev1 and therefore the specs should be run. |
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 |
LegacyWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
LegacyFixedDirectoryWorkingCopyManager.retrieveSourceCode(CommonContext commonContext,
VcsRepositoryData repositoryData,
PlanVcsRevisionData targetRevision,
File targetPath) |
VcsWorkingCopy |
LegacyWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage) |
VcsWorkingCopy |
LegacyWorkingCopyManager.updateToLatestRevision(CommonContext commonContext,
VcsRepositoryData repositoryData,
File targetPath) |
VcsWorkingCopy |
LegacyFixedDirectoryWorkingCopyManager.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.
|
default BuildRepositoryChanges |
VcsChangeDetector.collectChangesForInitialBuild(PlanKey planKey,
VcsRepositoryData repositoryData,
VcsBranch otherBranch,
boolean otherBranchUnreliable)
This method is used to generate the list of commits for an initial build of a plan branch.
|
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.
|
void |
VcsBuildWarningsUpdater.deleteBuildWarnings(VcsRepositoryData repository,
String changeSetId,
ImmutableChainResultsSummary resultsSummary)
Removes all warnings previously sent by Bamboo for the given repository used in a build.
|
List<TagAndRevision> |
VcsTagsHandler.getAllTagsFromRepository(VcsRepositoryData vcsRepositoryData)
Reads from git repository all tags (with revisions).
|
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. |
VcsWorkingCopy |
StatusProvidingVcsWorkingCopyManager.getWorkingCopyInfo(VcsRepositoryData repositoryData,
File checkoutPath)
Provide repository working copy information for the given checkout path.
|
File |
FixedDirectoryWorkingCopyManager.getWorkingCopyPath(CommonContext commonContext,
VcsRepositoryData repositoryData)
Deprecated.
Based on configuration and current context produce absolute path to the working copy.
|
boolean |
VcsTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
VcsCommitCommenter.publishComment(VcsRepositoryData repositoryData,
String commitId,
String payload)
Publish comment to repository commit.
|
boolean |
VcsCommitCommenter.publishRssStatus(VcsRepositoryData repositoryData,
String commitId,
com.atlassian.event.Event event)
Publish Bamboo Specs execution status to repository commit.
|
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.
|
boolean |
VcsBuildWarningsUpdater.sendBuildWarnings(VcsRepositoryData repository,
String changesetId,
ImmutableChainResultsSummary resultsSummary,
BuildWarningSummary warningSummary,
Iterable<WarningAnnotation> warnings)
Sends build warnings for the given repository used in a build.
|
default void |
UpdatingVcsWorkingCopyManager.stageChanges(VcsWorkingCopy workingCopy,
VcsRepositoryData repositoryData,
Collection<String> pathsToAdd)
Stage changes for committing.
|
VcsWorkingCopy |
UpdatingVcsWorkingCopyManager.updateRemote(VcsWorkingCopy workingCopy,
VcsRepositoryData vcsRepositoryData,
String commitMessage)
Update remote 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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.