Modifier and Type | Method and Description |
---|---|
@Nullable BuildChanges |
UnconditionalBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryStoredSpecsService.runBambooSpecs(@NotNull SpecsConsumer specsConsumer,
@NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
@NotNull VcsRepositoryData repository,
@NotNull VcsBranch vcsBranch,
@NotNull VcsLocationBambooSpecsState specsState,
@NotNull List<CommitContext> commits,
boolean shouldReportMissingSpecs)
Execute Bamboo Specs and import results
|
boolean |
RssDetectionServiceImpl.runRssDetection(long repositoryId,
@NotNull VcsBranch vcsBranch,
boolean forced,
@NotNull 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 |
@NotNull MergeResult |
VcsBranchIntegrationHelper.merge(@NotNull BuildContext buildContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsRepositoryModuleDescriptor moduleDescriptor,
@NotNull VcsBranch integrationBranch,
@NotNull File mergeDir,
@Nullable BuildLogger logger) |
@NotNull MergeResult |
BranchIntegrationHelperImpl.merge(@NotNull BuildContext buildContext,
@NotNull VcsRepositoryData defaultRepositoryDefinition,
@NotNull VcsRepositoryModuleDescriptor moduleDescriptor,
@NotNull VcsBranch integrationBranch,
@NotNull File mergeDir,
@Nullable BuildLogger logger) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
BitbucketRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
@NotNull BuildRepositoryChanges |
BitbucketRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey) |
@NotNull String |
BitbucketRepository.commit(@NotNull File sourceDirectory,
@NotNull String message) |
CommitContext |
BitbucketRepository.getFirstCommit() |
CommitContext |
BitbucketRepository.getLastCommit() |
@NotNull List<VcsBranch> |
BitbucketRepository.getOpenBranches(@Nullable String context) |
boolean |
BitbucketRepository.mergeWorkspaceWith(@NotNull BuildContext buildContext,
@NotNull File checkoutDirectory,
@NotNull String targetRevision) |
void |
BitbucketRepository.pushRevision(@NotNull File sourceDirectory,
@Nullable String vcsRevisionKey) |
@NotNull String |
BitbucketRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory) |
@NotNull String |
BitbucketRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory,
int depth) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch targetBranch,
@NotNull PlanVcsRevisionData revisionOnTarget,
@NotNull VcsBranch sourceBranch,
@NotNull PlanVcsRevisionData sourceRevision,
@NotNull File targetPath) |
BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
@NotNull BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
@NotNull VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.commitLocal(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
void |
BitbucketCloudBranchCreator.createBranch(@NotNull VcsRepositoryData repositoryData,
@NotNull String branchName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger) |
void |
BitbucketCloudTagCreator.createTag(@NotNull VcsRepositoryData repositoryData,
@NotNull String tagName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger) |
@NotNull Optional<String> |
BitbucketCloudBambooSpecsHandler.detectSpecRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull Object source) |
@NotNull List<CommitContext> |
BitbucketCloudBambooSpecsHandler.findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
List<TagAndRevision> |
BitbucketCloudTagsHandler.getAllTagsFromRepository(@NotNull VcsRepositoryData vcsRepositoryData) |
@NotNull CommitContext |
BitbucketCloudBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) |
@NotNull CommitContext |
BitbucketCloudBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsBranch> |
BitbucketCloudBranchDetector.getOpenBranches(@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsPullRequest> |
BitbucketCloudPullRequestDetector.getOpenPullRequests(@NotNull VcsRepositoryData repositoryData) |
protected List<PullRequest> |
BitbucketCloudPullRequestDetector.getPullRequestsByRepository(@NotNull VcsRepositoryData repositoryData,
@Nullable String username,
@Nullable String password) |
@NotNull VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.getWorkingCopyInfo(@NotNull VcsRepositoryData repositoryData,
@NotNull File checkoutPath) |
boolean |
BitbucketCloudTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
BitbucketCloudBambooSpecsHandler.isNewer(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
boolean |
BitbucketCloudCommitCommenter.publishComment(@NotNull VcsRepositoryData repositoryData,
@NotNull String commitId,
@NotNull String payload) |
boolean |
BitbucketCloudCommitCommenter.publishRssStatus(@NotNull VcsRepositoryData repositoryData,
@NotNull String commitId,
@NotNull com.atlassian.event.Event event) |
@NotNull VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath) |
void |
BitbucketCloudWorkingCopyManager.stageChanges(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData repositoryData,
@NotNull Collection<String> pathsToAdd) |
@NotNull VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.updateRemote(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
@NotNull VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.updateToLatestRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
Modifier and Type | Method and Description |
---|---|
protected void |
NativeGitOperationHelper.afterRepositoryAccess(@NotNull GitRepositoryAccessData accessData) |
protected GitRepositoryAccessData |
NativeGitOperationHelper.beforeRepositoryAccess(@NotNull GitRepositoryAccessData accessData)
Wrap with proxy if needed.
|
@NotNull String |
GitOperationHelper.checkout(@Nullable File cacheDirectory,
@NotNull File sourceDirectory,
@NotNull String targetRevision,
@Nullable String previousRevision) |
@NotNull String |
NativeGitOperationHelper.checkout(@Nullable File cacheDirectory,
@NotNull File sourceDirectory,
@NotNull String targetRevision,
@Nullable String ignored) |
@NotNull String |
JGitOperationHelper.checkout(@Nullable File cacheDirectory,
@NotNull File sourceDirectory,
@NotNull String targetRevision,
@Nullable String previousRevision) |
@NotNull File |
GitMavenPomAccessor.checkoutMavenPom(@NotNull File destinationPath) |
boolean |
GitOperationHelper.checkRevisionExistsInCacheRepository(@NotNull File repositoryDirectory,
@NotNull String targetRevision) |
boolean |
NativeGitOperationHelper.checkRevisionExistsInCacheRepository(@NotNull File repositoryDirectory,
@NotNull String targetRevision) |
boolean |
JGitOperationHelper.checkRevisionExistsInCacheRepository(@NotNull File repositoryDirectory,
@NotNull String targetRevision) |
@NotNull BuildRepositoryChanges |
GitHubRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
@NotNull BuildRepositoryChanges |
GitRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
@NotNull BuildRepositoryChanges |
GitHubRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey) |
@NotNull BuildRepositoryChanges |
GitRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey) |
@NotNull BuildRepositoryChanges |
GitRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey,
@Nullable String customRevision) |
boolean |
GitHubAccessor.commentOnCommit(String commitId,
VcsRepositoryData repositoryData,
String message) |
@NotNull String |
GitHubRepository.commit(@NotNull File file,
@NotNull String s) |
@NotNull String |
GitRepository.commit(@NotNull File sourceDirectory,
@NotNull String message) |
default @NotNull String |
GitOperationHelper.commit(@NotNull File sourceDirectory,
@NotNull String message,
@NotNull String committerName,
@NotNull String committerEmail) |
@NotNull String |
GitOperationHelper.commit(@NotNull File sourceDirectory,
@NotNull String message,
@NotNull String committerName,
@NotNull String committerEmail,
boolean stageModifications) |
@NotNull String |
NativeGitOperationHelper.commit(@NotNull File sourceDirectory,
@NotNull String message,
@NotNull String committerName,
@NotNull String committerEmail,
boolean stageModifications) |
@NotNull String |
JGitOperationHelper.commit(@NotNull File sourceDirectory,
@NotNull String message,
@NotNull String committerName,
@NotNull String committerEmail,
boolean stageModifications) |
void |
GitOperationHelper.createBranch(@NotNull File sourceDirectory,
@NotNull String branchName) |
void |
NativeGitOperationHelper.createBranch(@NotNull File sourceDirectory,
@NotNull String branchName) |
void |
JGitOperationHelper.createBranch(@NotNull File sourceDirectory,
@NotNull String branchName) |
static GitOperationHelper |
GitOperationHelperFactory.createGitOperationHelper(@NotNull AbstractGitExecutor executor,
@NotNull GitRepositoryAccessData accessData,
@NotNull SshProxyService sshProxyService,
@NotNull BuildLogger buildLogger,
@NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver,
@NotNull TrustedKeyHelper trustedKeyHelper) |
static GitOperationHelper |
GitOperationHelperFactory.createGitOperationHelper(@NotNull GitRepository repository,
@NotNull GitRepositoryAccessData accessData,
@NotNull SshProxyService sshProxyService,
@NotNull BuildLogger buildLogger,
@NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver,
@NotNull TrustedKeyHelper trustedKeyHelper) |
void |
GitOperationHelper.createLightweightTag(@NotNull File sourceDirectory,
@NotNull String tagName,
@NotNull String revision) |
void |
NativeGitOperationHelper.createLightweightTag(@NotNull File sourceDirectory,
@NotNull String tagName,
@NotNull String revision) |
void |
JGitOperationHelper.createLightweightTag(@NotNull File sourceDirectory,
@NotNull String tagName,
@NotNull String revision) |
BuildRepositoryChanges |
GitOperationHelper.extractCommits(File cacheDirectory,
@NotNull String startingRevision,
String endingRevision) |
BuildRepositoryChanges |
NativeGitOperationHelper.extractCommits(File cacheDirectory,
@NotNull String startingRevision,
String endingRevision) |
BuildRepositoryChanges |
JGitOperationHelper.extractCommits(@NotNull File directory,
@Nullable String startingRevision,
@Nullable String endingRevision) |
BuildRepositoryChanges |
GitOperationHelper.extractCommits(File cacheDirectory,
@NotNull String startingRevision,
String endingRevision,
String path) |
BuildRepositoryChanges |
NativeGitOperationHelper.extractCommits(File cacheDirectory,
@NotNull String startingRevision,
String endingRevision,
@Nullable String path) |
BuildRepositoryChanges |
JGitOperationHelper.extractCommits(File cacheDirectory,
@NotNull String startingRevision,
String endingRevision,
String path) |
BuildRepositoryChanges |
GitOperationHelper.extractCommitsBetweenBranches(File cacheDirectory,
VcsBranch otherBranch,
boolean limitChangeList) |
BuildRepositoryChanges |
NativeGitOperationHelper.extractCommitsBetweenBranches(File cacheDirectory,
VcsBranch otherBranch,
boolean limitChangeList) |
void |
GitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull HashAndSource refAndHash,
boolean useShallow) |
void |
NativeGitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull HashAndSource hashAndSource,
boolean useShallow) |
void |
JGitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull HashAndSource refAndHash,
boolean useShallow) |
void |
GitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull HashAndSource refAndHash,
boolean useShallow,
boolean fetchTagsByDefault) |
void |
NativeGitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull HashAndSource hashAndSource,
boolean useShallow,
boolean fetchTagsByDefault) |
void |
JGitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull HashAndSource refAndHash,
boolean useShallow,
boolean fetchTagsByDefault) |
void |
GitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull String targetRevision,
boolean useShallow) |
void |
NativeGitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull String targetBranchOrRevision,
boolean useShallow) |
void |
JGitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull String targetRevision,
boolean useShallow) |
void |
GitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull String targetRevision,
boolean useShallow,
boolean fetchTagsByDefault) |
void |
NativeGitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull String targetBranchOrRevision,
boolean useShallow,
boolean fetchTagsByDefault) |
void |
JGitOperationHelper.fetch(@NotNull File sourceDirectory,
@NotNull String targetRevision,
boolean useShallow,
boolean fetchTagsByDefault) |
List<TagAndRevision> |
RemoteTagsOutputHandler.finalizeAndGetTags() |
@NotNull Optional<String> |
GitOperationHelper.getBranchForSha(@NotNull File sourceDirectory,
String revision,
String configuredBranch) |
@NotNull Optional<String> |
NativeGitOperationHelper.getBranchForSha(@NotNull File sourceDirectory,
String revision,
String configuredBranch) |
@NotNull Optional<String> |
JGitOperationHelper.getBranchForSha(@NotNull File sourceDirectory,
String revision,
String configuredBranch) |
@NotNull CommitContext |
GitOperationHelper.getCommit(File directory,
String targetRevision)
Gets the commit for the revision, given a working directory.
|
@NotNull CommitContext |
NativeGitOperationHelper.getCommit(File directory,
String targetRevision) |
@NotNull CommitContext |
JGitOperationHelper.getCommit(File directory,
String targetRevision) |
String |
GitOperationHelper.getCurrentBranch(File checkoutPath) |
String |
NativeGitOperationHelper.getCurrentBranch(@NotNull File checkoutPath) |
String |
JGitOperationHelper.getCurrentBranch(@NotNull File checkoutPath) |
@NotNull String |
GitOperationHelper.getCurrentRevision(@NotNull File sourceDirectory) |
@NotNull String |
NativeGitOperationHelper.getCurrentRevision(@NotNull File sourceDirectory) |
@NotNull String |
JGitOperationHelper.getCurrentRevision(@NotNull File sourceDirectory) |
CommitContext |
GitHubRepository.getFirstCommit() |
CommitContext |
GitRepository.getFirstCommit() |
CommitContext |
GitHubRepository.getLastCommit() |
CommitContext |
GitRepository.getLastCommit() |
@NotNull List<VcsBranch> |
GitOperationHelper.getOpenBranches(@NotNull GitRepositoryAccessData repositoryData,
File workingDir) |
@NotNull List<VcsBranch> |
NativeGitOperationHelper.getOpenBranches(@NotNull GitRepositoryAccessData repositoryData,
File workingDir) |
@NotNull List<VcsBranch> |
JGitOperationHelper.getOpenBranches(@NotNull GitRepositoryAccessData repositoryData,
File workingDir) |
@NotNull List<VcsBranch> |
GitHubRepository.getOpenBranches(@Nullable String context) |
@NotNull List<VcsBranch> |
GitRepository.getOpenBranches(@Nullable String context) |
protected String |
JGitOperationHelper.getRevision(File sourceDirectory,
@NotNull String revision) |
List<TagAndRevision> |
GitOperationHelper.getTagsForRepository(@NotNull GitRepositoryAccessData accessData) |
List<TagAndRevision> |
NativeGitOperationHelper.getTagsForRepository(@NotNull GitRepositoryAccessData accessData) |
List<TagAndRevision> |
JGitOperationHelper.getTagsForRepository(@NotNull GitRepositoryAccessData accessData) |
boolean |
GitOperationHelper.isAncestor(@NotNull Path gitWorkspace,
@NotNull GitHash rev1,
@NotNull GitHash rev2)
Returns true if you can reach rev1 by following parent relationship starting from rev2.
|
boolean |
NativeGitOperationHelper.isAncestor(@NotNull Path gitWorkspace,
@NotNull GitHash rev1,
@NotNull GitHash rev2) |
boolean |
JGitOperationHelper.isAncestor(@NotNull Path gitWorkspace,
@NotNull GitHash rev1,
@NotNull GitHash rev2) |
boolean |
GitOperationHelper.isClean(@NotNull File sourceDirectory) |
boolean |
NativeGitOperationHelper.isClean(@NotNull File sourceDirectory) |
boolean |
JGitOperationHelper.isClean(@NotNull File sourceDirectory) |
boolean |
GitOperationHelper.merge(@NotNull File workspaceDir,
@NotNull String targetRevision,
@NotNull String committerName,
@NotNull String committerEmail) |
boolean |
NativeGitOperationHelper.merge(@NotNull File workspaceDir,
@NotNull String targetRevision,
@NotNull String committerName,
@NotNull String committerEmail) |
Pair<Boolean,String> |
GitOperationHelper.mergeAndReturnHead(@NotNull File workspaceDir,
@NotNull String currentRevision,
@NotNull String targetRevision,
@NotNull String committerName,
@NotNull String committerEmail) |
Pair<Boolean,String> |
NativeGitOperationHelper.mergeAndReturnHead(@NotNull File workspaceDir,
@NotNull String currentRevision,
@NotNull String targetRevision,
@NotNull String committerName,
@NotNull String committerEmail) |
Pair<Boolean,String> |
JGitOperationHelper.mergeAndReturnHead(@NotNull File workspaceDir,
@NotNull String currentRevision,
@NotNull String targetRevision,
@NotNull String committerName,
@NotNull String committerEmail) |
boolean |
GitHubRepository.mergeWorkspaceWith(@NotNull BuildContext buildContext,
@NotNull File file,
@NotNull String s) |
boolean |
GitRepository.mergeWorkspaceWith(@NotNull BuildContext buildContext,
@NotNull File workspaceDir,
@NotNull String targetRevision) |
@NotNull HashAndSource |
GitOperationHelper.obtainLatestRevision() |
@NotNull HashAndSource |
NativeGitOperationHelper.obtainLatestRevision() |
@NotNull HashAndSource |
JGitOperationHelper.obtainLatestRevision() |
Optional<GitHash> |
GitOperationHelper.obtainLatestRevision(@NotNull File repositoryDirectory,
GitRef ref,
String path) |
Optional<GitHash> |
NativeGitOperationHelper.obtainLatestRevision(@NotNull File repositoryDirectory,
GitRef ref,
String path) |
void |
GitOperationHelper.pushBranchOrTag(@NotNull File sourceDirectory,
@NotNull String refName) |
void |
NativeGitOperationHelper.pushBranchOrTag(@NotNull File sourceDirectory,
@NotNull String refName) |
void |
JGitOperationHelper.pushBranchOrTag(@NotNull File sourceDirectory,
@NotNull String branchName) |
void |
GitHubRepository.pushRevision(@NotNull File file,
@Nullable String s) |
void |
GitRepository.pushRevision(@NotNull File sourceDirectory,
@Nullable String vcsRevisionKey) |
void |
GitOperationHelper.pushRevision(@NotNull File sourceDirectory,
@NotNull String revision,
@Nullable String currentBranch) |
void |
NativeGitOperationHelper.pushRevision(@NotNull File sourceDirectory,
@NotNull String revision,
@Nullable String currentBranch) |
void |
JGitOperationHelper.pushRevision(@NotNull File sourceDirectory,
@NotNull String revision,
@Nullable String currentBranch)
Pushes arbitrary revision (refspec?) back to the upstream repo.
|
@NotNull String |
GitRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable PlanVcsRevisionData planVcsRevisionData,
@NotNull File sourceDirectory,
int depth) |
@NotNull String |
GitHubRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevision) |
@NotNull String |
GitHubRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory) |
@NotNull String |
GitRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory) |
@NotNull String |
GitHubRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory,
int depth) |
@NotNull String |
GitRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory,
int depth) |
void |
GitOperationHelper.stageChanges(@NotNull File sourceDirectory,
@NotNull Collection<String> pathsToAdd) |
void |
NativeGitOperationHelper.stageChanges(@NotNull File sourceDirectory,
@NotNull Collection<String> filePaths) |
void |
JGitOperationHelper.stageChanges(@NotNull File sourceDirectory,
@NotNull Collection<String> filePaths) |
protected <E extends Throwable,T> |
JGitOperationHelper.withFetchConnection(@NotNull org.eclipse.jgit.lib.Repository repository,
@NotNull GitRepositoryAccessData accessData,
@NotNull JGitOperationHelper.WithFetchConnectionCallback<E,T> callback) |
protected <E extends Throwable,T> |
JGitOperationHelper.withTransport(@NotNull org.eclipse.jgit.lib.Repository repository,
@NotNull GitRepositoryAccessData accessData,
@NotNull JGitOperationHelper.WithTransportCallback<E,T> callback) |
Constructor and Description |
---|
NativeGitOperationHelper(@NotNull AbstractGitExecutor repository,
@NotNull GitRepositoryAccessData accessData,
@NotNull SshProxyService sshProxyService,
@NotNull BuildLogger buildLogger,
@NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver,
@NotNull TrustedKeyHelper trustedKeyHelper) |
NativeGitOperationHelper(@NotNull GitRepository repository,
@NotNull GitRepositoryAccessData accessData,
@NotNull SshProxyService sshProxyService,
@NotNull BuildLogger buildLogger,
@NotNull com.atlassian.sal.api.message.I18nResolver i18nResolver,
@NotNull TrustedKeyHelper trustedKeyHelper) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsWorkingCopy |
GitWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch targetBranch,
@NotNull PlanVcsRevisionData revisionOnTarget,
@NotNull VcsBranch sourceBranch,
@NotNull PlanVcsRevisionData sourceRevision,
@NotNull File targetPath) |
BuildRepositoryChanges |
GitChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
@NotNull BuildRepositoryChanges |
GitChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
GitChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
@NotNull VcsWorkingCopy |
GitWorkingCopyManager.commitLocal(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
void |
GitBranchCreator.createBranch(@NotNull VcsRepositoryData repositoryData,
@NotNull String branchName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger) |
void |
GitTagCreator.createTag(@NotNull VcsRepositoryData repositoryData,
@NotNull String tagName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger) |
@NotNull Optional<String> |
GitBambooSpecsHandler.detectSpecRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull Object source) |
static void |
GitChangeDetector.ensureRevisionExists(GitOperationHelper helper,
File cacheDirectory,
String hashOrRefToFetch,
String targetRevision) |
@NotNull List<CommitContext> |
GitBambooSpecsHandler.findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
List<TagAndRevision> |
GitTagsHandler.getAllTagsFromRepository(@NotNull VcsRepositoryData vcsRepositoryData) |
@NotNull CommitContext |
GitBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) |
@NotNull CommitContext |
GitBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsBranch> |
GitBranchDetector.getOpenBranches(@NotNull VcsRepositoryData repositoryData) |
@NotNull VcsWorkingCopy |
GitWorkingCopyManager.getWorkingCopyInfo(@NotNull VcsRepositoryData repositoryData,
@NotNull File checkoutPath) |
boolean |
GitTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
GitBambooSpecsHandler.isNewer(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
@NotNull VcsWorkingCopy |
GitWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath) |
void |
GitWorkingCopyManager.stageChanges(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData repositoryData,
@NotNull Collection<String> pathsToAdd) |
@NotNull VcsWorkingCopy |
GitWorkingCopyManager.updateRemote(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@Nullable String commitMessage) |
@NotNull VcsWorkingCopy |
GitWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
GitWorkingCopyManager.updateToLatestRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsWorkingCopy |
GitHubWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch targetBranch,
@NotNull PlanVcsRevisionData revisionOnTarget,
@NotNull VcsBranch sourceBranch,
@NotNull PlanVcsRevisionData sourceRevision,
@NotNull File targetPath) |
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
@NotNull BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
GitHubChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
@NotNull VcsWorkingCopy |
GitHubWorkingCopyManager.commitLocal(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
@NotNull Optional<String> |
GitHubBambooSpecsHandler.detectSpecRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull Object source) |
@NotNull List<CommitContext> |
GitHubBambooSpecsHandler.findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
List<TagAndRevision> |
GitHubTagsHandler.getAllTagsFromRepository(@NotNull VcsRepositoryData vcsRepositoryData) |
@Nullable CommitContext |
GitHubBranchDetector.getFirstCommit(@NotNull VcsRepositoryData repositoryData) |
@NotNull CommitContext |
GitHubBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) |
@NotNull CommitContext |
GitHubBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsBranch> |
GitHubBranchDetector.getOpenBranches(@NotNull VcsRepositoryData repositoryData) |
boolean |
GitHubTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
GitHubBambooSpecsHandler.isNewer(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
boolean |
GitHubCommitCommenter.publishComment(@NotNull VcsRepositoryData repositoryData,
@NotNull String commitId,
@NotNull String payload) |
boolean |
GitHubCommitCommenter.publishRssStatus(@NotNull VcsRepositoryData repositoryData,
@NotNull String commitId,
@NotNull com.atlassian.event.Event event) |
@NotNull VcsWorkingCopy |
GitHubWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
GitHubWorkingCopyManager.updateRemote(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
@NotNull VcsWorkingCopy |
GitHubWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
GitHubWorkingCopyManager.updateToLatestRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
StashRepositoryImpl.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
@NotNull BuildRepositoryChanges |
StashRepositoryImpl.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey) |
@NotNull String |
StashRepositoryImpl.commit(@NotNull File sourceDirectory,
@NotNull String message) |
void |
BitbucketServerBuildWarningsUpdater.deleteBuildWarnings(@NotNull VcsRepositoryData repository,
@NotNull String changeSetId,
@NotNull ImmutableChainResultsSummary resultsSummary) |
CommitContext |
StashRepositoryImpl.getFirstCommit() |
CommitContext |
StashRepositoryImpl.getLastCommit() |
@NotNull List<VcsBranch> |
StashRepositoryImpl.getOpenBranches(@Nullable String context) |
@NotNull List<VcsPullRequest> |
BitbucketServerPullRequestDetector.getOpenPullRequests(@NotNull 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(@NotNull BuildContext buildContext,
@NotNull File checkoutDirectory,
@NotNull String targetRevision) |
void |
StashRepositoryImpl.pushRevision(@NotNull File sourceDirectory,
@Nullable String vcsRevisionKey) |
@NotNull String |
StashRepositoryImpl.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable PlanVcsRevisionData planVcsRevisionData,
@NotNull File sourceDirectory,
int depth) |
@NotNull String |
StashRepositoryImpl.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory) |
@NotNull String |
StashRepositoryImpl.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory,
int depth) |
boolean |
BitbucketServerBuildWarningsUpdater.sendBuildWarnings(@NotNull VcsRepositoryData repository,
@NotNull String changesetId,
@NotNull ImmutableChainResultsSummary resultsSummary,
@NotNull BuildWarningSummary warningSummary,
@NotNull 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 |
---|---|
@NotNull VcsWorkingCopy |
BitbucketServerWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch targetBranch,
@NotNull PlanVcsRevisionData revisionOnTarget,
@NotNull VcsBranch sourceBranch,
@NotNull PlanVcsRevisionData sourceRevision,
@NotNull File targetPath) |
BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
@NotNull BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
@NotNull VcsWorkingCopy |
BitbucketServerWorkingCopyManager.commitLocal(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
void |
BitbucketServerBranchCreator.createBranch(@NotNull VcsRepositoryData repositoryData,
@NotNull String branchName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger) |
void |
BitbucketServerTagCreator.createTag(@NotNull VcsRepositoryData repositoryData,
@NotNull String tagName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger) |
@NotNull Optional<String> |
BitbucketServerBambooSpecsHandler.detectSpecRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull Object source) |
@NotNull List<CommitContext> |
BitbucketServerBambooSpecsHandler.findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
List<TagAndRevision> |
BitbucketServerTagsHandler.getAllTagsFromRepository(@NotNull VcsRepositoryData vcsRepositoryData) |
@NotNull CommitContext |
BitbucketServerBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) |
@NotNull CommitContext |
BitbucketServerBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsBranch> |
BitbucketServerBranchDetector.getOpenBranches(@NotNull VcsRepositoryData repositoryData) |
@NotNull VcsWorkingCopy |
BitbucketServerWorkingCopyManager.getWorkingCopyInfo(@NotNull VcsRepositoryData repositoryData,
@NotNull File checkoutPath) |
boolean |
BitbucketServerTagsHandler.isBranchContainTag(VcsRepositoryData vcsRepositoryData,
String branchName,
TagAndRevision tagAndRevision) |
boolean |
BitbucketServerBambooSpecsHandler.isNewer(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
@NotNull VcsWorkingCopy |
BitbucketServerWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath) |
void |
BitbucketServerWorkingCopyManager.stageChanges(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData repositoryData,
@NotNull Collection<String> pathsToAdd) |
@NotNull VcsWorkingCopy |
BitbucketServerWorkingCopyManager.updateRemote(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
@NotNull VcsWorkingCopy |
BitbucketServerWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
BitbucketServerWorkingCopyManager.updateToLatestRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull 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 |
---|---|
@NotNull File |
MavenPomAccessor.checkoutMavenPom(@NotNull File destinationPath)
Checkout Maven POM and return File pointing to the project file
|
@NotNull BuildRepositoryChanges |
AbstractRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision)
Deprecated.
|
@NotNull BuildRepositoryChanges |
OnceOffCapableRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision)
Collects the changes for the targetRevision.
|
@NotNull BuildRepositoryChanges |
CustomRevisionDataAwareRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@NotNull PlanVcsRevisionData lastRevisionData) |
@NotNull String |
PushCapableRepository.commit(@NotNull File sourceDirectory,
@NotNull String message)
Perform a commit (dvcs commit).
|
void |
BranchingAwareRepository.createBranch(long repositoryId,
@NotNull String branchName,
@NotNull BuildContext buildContext)
Creates branch in the repository.
|
void |
TaggingAwareRepository.createTag(long repositoryId,
@NotNull String tagName,
@NotNull BuildContext buildContext)
Creates a tag in the repository
|
@Nullable CommitContext |
BranchDetectionCapableRepository.getFirstCommit()
Deprecated.
Retrieve the commit that created the Branch.
|
@Nullable CommitContext |
BranchDetectionCapableRepository.getLastCommit()
Deprecated.
Retrieve last commit on the branch set on this Repository.
|
@NotNull List<VcsBranch> |
BranchDetectionCapableRepository.getOpenBranches(@Nullable String context)
Deprecated.
Set of open branches that are discovered in the repository. |
@NotNull List<VcsBranch> |
RepositoryCachingFacadeImpl.getOpenBranches(@NotNull VcsBranchDetector branchDetector,
@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsBranch> |
RepositoryCachingFacade.getOpenBranches(@NotNull VcsBranchDetector branchDetector,
@NotNull VcsRepositoryData repositoryData)
Retrieve open branches from the given repository.
|
@NotNull List<VcsPullRequest> |
RepositoryCachingFacadeImpl.getOpenPullRequests(@NotNull VcsPullRequestDetector pullRequestDetector,
@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsPullRequest> |
RepositoryCachingFacade.getOpenPullRequests(@NotNull VcsPullRequestDetector pullRequestDetector,
@NotNull VcsRepositoryData repositoryData) |
@NotNull File |
AbstractRepository.getSourceCodeDirectory(@NotNull PlanKey planKey)
Deprecated.
For Subversion, we use the build name's directory within the system's working directory
|
boolean |
BranchMergingAwareRepository.mergeWorkspaceWith(@NotNull BuildContext buildContext,
@NotNull File checkoutDirectory,
@NotNull String targetRevision)
Merges a workspace located in checkout directory with the target revision.
|
void |
PushCapableRepository.pushRevision(@NotNull File sourceDirectory,
@Nullable String vcsRevisionKey)
Push the specified revision to the remote directory.
|
@NotNull String |
CheckoutCustomRevisionDataAwareRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable PlanVcsRevisionData planVcsRevisionData,
@NotNull File sourceDirectory,
int depth) |
@NotNull String |
BranchMergingAwareRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory,
int depth)
Checks out the latest source code from an appropriate repository to specified directory
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
NullRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey) |
@NotNull String |
NullRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory) |
Modifier and Type | Method and Description |
---|---|
@NotNull File |
PerforceRepositoryMavenPomAccessor.checkoutMavenPom(@NotNull File destinationPath) |
@NotNull BuildRepositoryChanges |
PerforceRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@Nullable String targetRevision) |
@NotNull BuildRepositoryChanges |
PerforceRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey)
Access the perforce repository to retrieve change logs since the lastVCSRevisionKey
|
@NotNull List<Commit> |
PerforceManager.getChangeLogEntries(@NotNull com.tek42.perforce.Depot perforceDepot,
@NotNull List<Integer> changeNumbers)
Retrieves a list of Bamboo Commit including Commit Files based on list of change numbers
|
List<Integer> |
PerforceManager.getChangeNumbersFromRevision(@NotNull com.tek42.perforce.Depot perforceDepot,
String clientViewDepot,
int lastRevisionInBamboo,
boolean useClientMapping) |
@NotNull List<Integer> |
PerforceManager.getChangeNumsBetweenRevisions(@NotNull com.tek42.perforce.Depot perforceDepot,
@Nullable 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.
|
@NotNull String |
PerforceManager.getClientRoot(com.tek42.perforce.Depot perforceDepot)
Retrieves the workspace root as defined in the client configuration
|
int |
PerforceManager.getLatestChangeNumber(@NotNull com.tek42.perforce.Depot perforceDepot,
@Nullable String depot,
int latestRevisionInBamboo,
boolean useClientMapping)
retrieves the latest change list number on the perforce server for comparison to the one stored in Bamboo
|
@NotNull File |
PerforceRepository.getSourceCodeDirectory(@NotNull PlanKey planKey)
Retrieves the location that the build will occur.
|
@NotNull String |
PerforceRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey)
Checkout the sourcecode as at the vcsRevisionKey, if revisionKey is null source will be checked out from head
|
void |
PerforceManager.setupSync(@NotNull com.tek42.perforce.Depot perforceDepot,
@NotNull File sourceDirectory)
Sets the directory for perforce to check the code out to.
|
void |
PerforceManager.syncToHead(@NotNull com.tek42.perforce.Depot perforceDepot,
@NotNull String depot,
boolean forceSync)
Syncs the source code to head
|
void |
PerforceManager.syncToRevision(@NotNull com.tek42.perforce.Depot perforceDepot,
@NotNull 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.
|
@NotNull File |
SvnRepositoryMavenPomAccessor.checkoutMavenPom(@NotNull File destinationPath) |
@NotNull BuildRepositoryChanges |
SvnRepository.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull String targetRevision) |
@NotNull BuildRepositoryChanges |
SvnRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@NotNull PlanVcsRevisionData revisionData) |
@NotNull BuildRepositoryChanges |
SvnRepository.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey) |
void |
SvnRepository.createBranch(long repositoryId,
@NotNull String branchName,
@NotNull BuildContext buildContext) |
void |
SvnRepository.createTag(long repositoryId,
@NotNull String tagName,
@NotNull 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() |
@NotNull List<VcsBranch> |
SvnRepository.getOpenBranches(@Nullable String context) |
@NotNull 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.
|
@NotNull String |
SvnRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
SvnChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
SvnChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData revisionData) |
void |
SvnBranchCreator.createBranch(@NotNull VcsRepositoryData repositoryData,
@NotNull String branchName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger) |
void |
SvnTagCreator.createTag(@NotNull VcsRepositoryData repositoryData,
@NotNull String tagName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger) |
@NotNull Optional<String> |
SvnBambooSpecsHandler.detectSpecRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull Object source) |
@NotNull List<CommitContext> |
SvnBambooSpecsHandler.findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2) |
@NotNull CommitContext |
SvnBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData) |
@NotNull CommitContext |
SvnBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsBranch> |
SvnBranchDetector.getOpenBranches(@NotNull VcsRepositoryData repositoryData) |
@NotNull VcsWorkingCopy |
SvnWorkingCopyManager.getWorkingCopyInfo(@NotNull VcsRepositoryData repositoryData,
@NotNull File checkoutPath) |
@NotNull VcsWorkingCopy |
SvnWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
SvnWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
SvnWorkingCopyManager.updateToLatestRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildRepositoryChanges |
RepositoryV2.collectChangesSinceLastBuild(@NotNull String planKey,
@Nullable String lastVcsRevisionKey)
Collects the changes since the lastVcsRevisionKey.
|
@NotNull File |
RepositoryV2.getSourceCodeDirectory(@NotNull PlanKey planKey)
Deprecated.
since 3.3 Repository must handle checkout to any sub-directory.
|
@NotNull String |
LegacyRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey)
Deprecated.
|
@NotNull String |
CustomSourceDirectoryAwareRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory)
Checks out the latest source code from an appropriate repository to specified directory
|
Modifier and Type | Method and Description |
---|---|
@NotNull CommonContext |
InitializeBuild.call(@NotNull CommonContext commonContext,
@NotNull ReadOnlyCapabilitySet capabilitySet) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildChanges |
DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(@NotNull ImmutableChain chain,
@Nullable Map<String,String> customVariableValues,
@Nullable String customRevision) |
@NotNull BuildChanges |
ChangeDetectionManager.collectAllChangesSinceLastBuild(@NotNull ImmutableChain chain,
@Nullable Map<String,String> customVariableValues,
@Nullable String customRevision)
Collect changes for a plan since the last build, regardless of whether the build triggering repositories have
changes or not.
|
@NotNull BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesBetween(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@Nullable PlanVcsRevisionData fromVcsRevisionData,
@NotNull PlanVcsRevisionData toVcsRevisionData) |
@NotNull BuildRepositoryChanges |
ChangeDetectionManager.collectChangesBetween(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@Nullable PlanVcsRevisionData fromVcsRevisionData,
@NotNull 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. |
@NotNull BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuild(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@NotNull PlanVcsRevisionData lastVcsRevisionData,
@Nullable Map<String,String> customVariableValues,
@Nullable String customRevision) |
@NotNull BuildRepositoryChanges |
ChangeDetectionManager.collectChangesSinceLastBuild(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@NotNull PlanVcsRevisionData lastVcsRevisionData,
@Nullable Map<String,String> customVariableValues,
@Nullable 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. |
@NotNull BuildChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(@NotNull ImmutableChain chain,
@Nullable Map<String,String> customVariableValues,
@Nullable Set<Long> triggeringRepositories) |
@NotNull BuildChanges |
ChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(@NotNull ImmutableChain chain,
@Nullable Map<String,String> customVariableValues,
@Nullable Set<Long> triggeringRepositories)
Collect changes for a plan since the last build.
|
protected @NotNull BuildRepositoryChanges |
DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(@NotNull ImmutableChain chain,
@NotNull PlanRepositoryDefinition repositoryDefinition,
@NotNull PlanVcsRevisionData lastVcsRevisionData,
@Nullable Map<String,String> customVariableValues,
@Nullable String customRevision,
boolean isBuildTrigger,
boolean suppressQuietPeriod) |
@Nullable BuildChanges |
TagBuildAction.performDelayedChangeDetection(BuildContext buildContext) |
@Nullable BuildChanges |
ManualBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
@Nullable BuildChanges |
ScheduledBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
@Nullable BuildChanges |
ChildDependencyBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
@Nullable BuildChanges |
AbstractDependentDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
void |
DefaultChangeDetectionManager.updateIntegrationRepositoryDetails(ImmutableChain chain,
BuildChanges buildChanges) |
void |
ChangeDetectionManager.updateIntegrationRepositoryDetails(ImmutableChain chain,
BuildChanges buildChanges) |
Modifier and Type | Method and Description |
---|---|
@NotNull Optional<String> |
BambooSpecsHandler.detectSpecRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull Object source)
Attempts to obtain latest revision from the repository which may have changed Bamboo Specs.
|
@NotNull List<CommitContext> |
BambooSpecsHandler.findCommitsToSpecs(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull String rev2)
Extracts a list of commits related to Bamboo Specs, which occurred between revisions
rev1 and
rev2 . |
boolean |
BambooSpecsHandler.isNewer(@NotNull VcsRepositoryData repositoryData,
@NotNull String rev1,
@NotNull 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 |
---|---|
@NotNull VcsWorkingCopy |
LegacyWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch targetBranch,
@NotNull PlanVcsRevisionData revisionOnTarget,
@NotNull VcsBranch sourceBranch,
@NotNull PlanVcsRevisionData sourceRevision,
@NotNull File targetPath) |
@NotNull BuildRepositoryChanges |
LegacyChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
LegacyChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
@NotNull VcsWorkingCopy |
LegacyWorkingCopyManager.commitLocal(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
@Nullable CommitContext |
LegacyBranchDetector.getFirstCommit(@NotNull VcsRepositoryData repositoryData) |
@NotNull CommitContext |
LegacyBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData) |
@NotNull List<VcsBranch> |
LegacyBranchDetector.getOpenBranches(@NotNull VcsRepositoryData repositoryData) |
@NotNull File |
LegacyFixedDirectoryWorkingCopyManager.getWorkingCopyPath(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData) |
@NotNull VcsWorkingCopy |
LegacyFixedDirectoryWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision) |
@NotNull VcsWorkingCopy |
LegacyWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
LegacyFixedDirectoryWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
LegacyWorkingCopyManager.updateRemote(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage) |
@NotNull VcsWorkingCopy |
LegacyWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
@NotNull VcsWorkingCopy |
LegacyFixedDirectoryWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath) |
Modifier and Type | Method and Description |
---|---|
default @NotNull 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 |
---|---|
@NotNull VcsWorkingCopy |
MergingVcsWorkingCopyManager.checkoutAndMerge(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch targetBranch,
@NotNull PlanVcsRevisionData revisionOnTarget,
@NotNull VcsBranch sourceBranch,
@NotNull PlanVcsRevisionData sourceRevision,
@NotNull File targetPath)
Checks out the targetBranch and merges sourceBranch to it.
|
default BuildRepositoryChanges |
VcsChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@Nullable VcsBranch otherBranch,
boolean otherBranchUnreliable)
This method is used to generate the list of commits for an initial build of a plan branch.
|
@NotNull BuildRepositoryChanges |
VcsChangeDetector.collectChangesForRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull String customRevision) |
@NotNull BuildRepositoryChanges |
VcsChangeDetector.collectChangesSinceRevision(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData lastRevisionData) |
@NotNull VcsWorkingCopy |
UpdatingVcsWorkingCopyManager.commitLocal(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage)
Create a local commit.
|
void |
VcsBranchCreator.createBranch(@NotNull VcsRepositoryData repositoryData,
@NotNull String branchName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger)
Creates new branch from revision vcsRevisionKey with given branchName.
|
void |
VcsTagCreator.createTag(@NotNull VcsRepositoryData repositoryData,
@NotNull String tagName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger)
Creates new tag from revision vcsRevisionKey with given tagName.
|
void |
VcsBuildWarningsUpdater.deleteBuildWarnings(@NotNull VcsRepositoryData repository,
@NotNull String changeSetId,
@NotNull ImmutableChainResultsSummary resultsSummary)
Removes all warnings previously sent by Bamboo for the given repository used in a build.
|
List<TagAndRevision> |
VcsTagsHandler.getAllTagsFromRepository(@NotNull VcsRepositoryData vcsRepositoryData)
Reads from git repository all tags (with revisions).
|
default @Nullable CommitContext |
VcsBranchDetector.getFirstCommit(@NotNull VcsRepositoryData repositoryData)
Deprecated.
since 6.0 use/implement
VcsBranchDetector.getFirstCommitApproximation(VcsRepositoryData) instead |
default @NotNull CommitContext |
VcsBranchDetector.getFirstCommitApproximation(@NotNull VcsRepositoryData repositoryData)
Retrieve an old, preferably the first commit on a branch.
|
@NotNull CommitContext |
VcsBranchDetector.getLastCommit(@NotNull VcsRepositoryData repositoryData)
Retrieve last commit on the branch set on this Repository.
|
@NotNull List<VcsBranch> |
VcsBranchDetector.getOpenBranches(@NotNull VcsRepositoryData repositoryData)
Set of open branches that are discovered in the repository. |
@NotNull List<VcsPullRequest> |
VcsPullRequestDetector.getOpenPullRequests(@NotNull VcsRepositoryData repositoryData)
List of open pull requests that are discovered in the repository. |
@NotNull VcsWorkingCopy |
StatusProvidingVcsWorkingCopyManager.getWorkingCopyInfo(@NotNull VcsRepositoryData repositoryData,
@NotNull File checkoutPath)
Provide repository working copy information for the given checkout path.
|
@NotNull File |
FixedDirectoryWorkingCopyManager.getWorkingCopyPath(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData)
Deprecated.
Based on configuration and current context produce absolute path to the working copy.
|
boolean |
VcsTagsHandler.isBranchContainTag(@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String branchName,
@NotNull TagAndRevision tagAndRevision) |
boolean |
VcsCommitCommenter.publishComment(@NotNull VcsRepositoryData repositoryData,
@NotNull String commitId,
@NotNull String payload)
Publish comment to repository commit.
|
boolean |
VcsCommitCommenter.publishRssStatus(@NotNull VcsRepositoryData repositoryData,
@NotNull String commitId,
@NotNull com.atlassian.event.Event event)
Publish Bamboo Specs execution status to repository commit.
|
@NotNull VcsWorkingCopy |
FixedDirectoryWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision)
Deprecated.
Checkout or update a working copy to a revision.
|
default @NotNull VcsWorkingCopy |
FixedDirectoryWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath)
Deprecated.
If you can implement this correctly using targetPath,
then you should not be implementing this interface.
|
@NotNull VcsWorkingCopy |
VcsWorkingCopyManager.retrieveSourceCode(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull PlanVcsRevisionData targetRevision,
@NotNull File targetPath)
Checkout or update a working copy to a revision.
|
boolean |
VcsBuildWarningsUpdater.sendBuildWarnings(@NotNull VcsRepositoryData repository,
@NotNull String changesetId,
@NotNull ImmutableChainResultsSummary resultsSummary,
@NotNull BuildWarningSummary warningSummary,
@NotNull Iterable<WarningAnnotation> warnings)
Sends build warnings for the given repository used in a build.
|
default void |
UpdatingVcsWorkingCopyManager.stageChanges(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData repositoryData,
@NotNull Collection<String> pathsToAdd)
Stage changes for committing.
|
@NotNull VcsWorkingCopy |
UpdatingVcsWorkingCopyManager.updateRemote(@NotNull VcsWorkingCopy workingCopy,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull String commitMessage)
Update remote repository.
|
default @NotNull VcsWorkingCopy |
FixedDirectoryWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath)
Deprecated.
If you can implement this, then you should not be implementing this interface.
|
@NotNull VcsWorkingCopy |
VcsWorkingCopyManager.updateToLatestRevision(@NotNull CommonContext commonContext,
@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath)
Checkout or update a working copy to the latest revision.
|
@NotNull VcsWorkingCopy |
NoContextVcsWorkingCopyManager.updateToLatestRevision(@NotNull VcsRepositoryData repositoryData,
@NotNull File targetPath)
Checkout or update a working copy to the latest revision.
|
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.