Uses of Interface
com.atlassian.bamboo.v2.build.BuildContext
Package
Description
-
Uses of BuildContext in com.atlassian.bamboo.analytics
Modifier and TypeMethodDescriptionvoid
MauService.processActivityForBuild
(BuildContext context) void
MauServiceImpl.processActivityForBuild
(BuildContext context) -
Uses of BuildContext in com.atlassian.bamboo.author
Modifier and TypeMethodDescriptionvoid
AuthorCreatorService.createMissingAuthors
(BuildContext buildContext) Creates records for Authorsvoid
AuthorCreatorServiceImpl.createMissingAuthors
(BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.build
Modifier and TypeMethodDescription@Nullable BuildContext
BuildDetectionResult.getBuildContext()
TheBuildContext
produced by a successful execution of aBuildDetectionAction
@Nullable BuildContext
BuildDetectionResultImpl.getBuildContext()
TheBuildContext
produced by a successful execution of aBuildDetectionAction
@Nullable BuildContext
BuildRequestResult.getBuildContext()
@Nullable BuildContext
BuildRequestResultImpl.getBuildContext()
Modifier and TypeMethodDescription@NotNull BuildDetectionAction
BuildDetectionActionFactory.createDependentBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull ImmutableChain parentChain, @NotNull BuildContext completedBuildContext) Creates a new instance ofBuildDetectionAction
that is used to trigger dependent builds@NotNull BuildDetectionAction
BuildDetectionActionFactoryImpl.createDependentBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull ImmutableChain parentChain, @NotNull BuildContext completedBuildContext) void
BuildExecutionManager.execute
(@NotNull BuildContext buildContext) Executes the givenBuildContext
At this point aBuildResultsSummary
exists that matches the givenBuildContext
void
DefaultBuildExecutionManager.execute
(@NotNull BuildContext buildContext) void
BuildExecutionManager.finishBuildWithCleanState
(@NotNull PlanResultKey planResultKey, @NotNull BuildContext buildContext) Calls removeCurrentlyBuilding and finishProcess.void
DefaultBuildExecutionManager.finishBuildWithCleanState
(@NotNull PlanResultKey planResultKey, @NotNull BuildContext buildContext) @Nullable BuildChanges
UnconditionalBuildDetectionAction.performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Performs a change detectionvoid
BuildExecutionManager.setCurrentlyBuilding
(@NotNull BuildContext buildContext, @NotNull Collection<BuildAgent> executableAgents, @NotNull Collection<ElasticImageConfiguration> executableImages) Denotes that the passed build context is beginning the build process.@NotNull CurrentlyBuilding
CurrentlyBuildingContainer.setCurrentlyBuilding
(@NotNull BuildContext buildContext, @NotNull CurrentlyBuilding currentlyBuilding, Collection<BuildAgent> executableAgents, Collection<ElasticImageConfiguration> executableImages) void
DefaultBuildExecutionManager.setCurrentlyBuilding
(@NotNull BuildContext buildContext, @NotNull Collection<BuildAgent> executableAgents, @NotNull Collection<ElasticImageConfiguration> executableImages) Denotes that the passed build context is beginning the build process.ModifierConstructorDescriptionBuildDetectionResultImpl
(ErrorCollection errorCollection, @Nullable BuildContext buildContext) BuildRequestResultImpl
(@Nullable BuildContext buildContext, @NotNull ErrorCollection errors) -
Uses of BuildContext in com.atlassian.bamboo.build.artifact
Modifier and TypeMethodDescription@NotNull BuildContext
BuildArtifactPostProcessor.call()
Copy all the build's artifacts for this build across to the builds artifact directory -
Uses of BuildContext in com.atlassian.bamboo.build.context
Modifier and TypeMethodDescription@NotNull BuildContext
BuildContextBuilder.build()
@NotNull BuildContext
BuildContextBuilderImpl.build()
Modifier and TypeMethodDescription@NotNull BuildContextBuilder
BuildContextBuilder.copyOf
(@NotNull BuildContext other) @NotNull BuildContextBuilder
BuildContextBuilderImpl.copyOf
(@NotNull BuildContext other) @NotNull BuildContextBuilder
BuildContextBuilder.parentBuildContext
(@NotNull BuildContext parentContext) @NotNull BuildContextBuilder
BuildContextBuilderImpl.parentBuildContext
(@NotNull BuildContext parentContext) -
Uses of BuildContext in com.atlassian.bamboo.build.monitoring
Modifier and TypeMethodDescriptionvoid
BuildMonitoringPerPlanPlugin.init
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.build.warning
Modifier and TypeMethodDescriptionvoid
BuildWarningSummaryCollationService.publishCollectedWarnings
(@NotNull BuildContext commonContext) Ends collection of warnings and publishes them as a build artifact.void
BuildWarningSummaryCollationServiceImpl.publishCollectedWarnings
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.chains
Modifier and TypeMethodDescription@NotNull BuildContext
BuildExecution.getBuildContext()
TheBuildContext
of build process represented by this object.@NotNull BuildContext
ChainBuildState.getBuildContext()
Gets the BuildContext for the Task@NotNull BuildContext
ChainState.getBuildContext()
TheBuildContext
of the currently executing chain@Nullable BuildContext
ChainStateResult.getBuildContext
(@NotNull PlanResultKey planResultKey) Lookup aBuildContext
of a Job by itsPlanResultKey
Modifier and TypeMethodDescription@NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) @NotNull Collection<BuildContext>
BuildContextFactory.createBuildContextsForRestartedOrContinuedBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) Creates aBuildContext
for each not built or failedJob
in theChain
that was partially executed or is restarted for example with "continue manual stage" action, or "re-run failed jobs" action, etc@NotNull Collection<BuildContext>
BuildContextFactoryImpl.createBuildContextsForRestartedOrContinuedBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) Modifier and TypeMethodDescriptionvoid
ChainPluginSupport.buildStarted
(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the enabledPreJobAction
s forBuildContext
void
ChainPluginSupport.chainCompleted
(@NotNull ChainExecution chainExecution, @NotNull BuildContext buildContext) Executes the enabledPostChainAction
s forChainExecution
void
ChainPluginSupport.chainStarted
(@NotNull ChainExecution chainExecution, @NotNull BuildContext buildContext) Executes the enabledPreChainAction
s forChainExecution
ChainResultManager.cleanForRerunBuild
(@NotNull BuildContext chainBuildContext) Removes all job and stage results.ChainResultManagerImpl.cleanForRerunBuild
(@NotNull BuildContext chainBuildContext) @NotNull ChainStateResult
ChainResultManager.create
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull Collection<? extends ImmutableChainStage> stageToExecute) @NotNull ChainStateResult
ChainResultManagerImpl.create
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull Collection<? extends ImmutableChainStage> stagesToExecute) @NotNull ChainState
ChainStateFactory.create
(@NotNull PlanIdentifier chain, @NotNull BuildContext buildContext, @NotNull ChainStateResult chainResultState) Creates aChainState
@NotNull ChainState
ChainStateFactory.create
(@NotNull PlanIdentifier chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull BuildContext chainBuildContext, @NotNull ChainStateResult chainResultState) Creates a {link ChainState} for extended execution config defined asPlanExecutionConfig
- continuable and restartable builds@NotNull ChainState
ChainStateFactoryImpl.create
(@NotNull PlanIdentifier chain, @NotNull BuildContext chainBuildContext, @NotNull ChainStateResult chainResultState) @NotNull ChainState
ChainStateFactoryImpl.create
(@NotNull PlanIdentifier chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull BuildContext chainBuildContext, @NotNull ChainStateResult chainResultState) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactory.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull Map<ImmutableChainStage,
Map<ImmutableJob, BuildContext>> BuildContextFactoryImpl.createBuildContextsForJobs
(@NotNull ImmutableChain chain, @NotNull BuildContext parentBuildContext) @NotNull Collection<BuildContext>
BuildContextFactory.createBuildContextsForRestartedOrContinuedBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) Creates aBuildContext
for each not built or failedJob
in theChain
that was partially executed or is restarted for example with "continue manual stage" action, or "re-run failed jobs" action, etc@NotNull Collection<BuildContext>
BuildContextFactoryImpl.createBuildContextsForRestartedOrContinuedBuild
(@NotNull ImmutableChain chain, @NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildContext parentBuildContext, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull ChainStateResult
ChainResultManager.createStateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig, @NotNull Map<PlanResultKey, ChainResultManager.JobResultInfoForRerun> jobRestartInfo) Creates aChainState
as well stage and job results for build already executed and being rerun.@NotNull ChainStateResult
ChainResultManagerImpl.createStateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig, @NotNull Map<PlanResultKey, ChainResultManager.JobResultInfoForRerun> jobResultInfoForRerunMap) void
ChainPluginSupport.failedStageRestarted
(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the enabledRestartFailedStageAction
s forStageExecution
void
ChainPluginSupport.manualStageResumed
(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the enabledResumeManualStageAction
s forStageExecution
void
JobExecutionManager.requestExecution
(@NotNull BuildContext buildContext) ExecutesBuildContext
objectvoid
JobExecutionManagerImpl.requestExecution
(@NotNull BuildContext buildContext) void
ChainPluginSupport.stageCompleted
(@NotNull StageExecution stageExecution, long stageResultId, @NotNull BuildContext buildContext) Executes the enabledPostStageAction
s forStageExecution
void
ChainPluginSupport.stageStarted
(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the enabledPreStageAction
s forStageExecution
void
ChainPluginSupport.stoppedOnManualStage
(@NotNull StageExecution stageExecution, long stageResultId, @NotNull BuildContext buildContext) Executes the enabledStopOnManualStageAction
s forStageExecution
void
BuildContextFactory.updateBuildContextWithChanges
(BuildContext contextToUpdate, BuildChanges newBuildChanges) Updates the build context with build changesvoid
BuildContextFactoryImpl.updateBuildContextWithChanges
(BuildContext contextToUpdate, BuildChanges newBuildChanges) @NotNull ChainStateResult
ChainResultManager.updateForContinuedBuild
(@NotNull BuildContext chainBuildContext, @NotNull Collection<BuildContext> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) Creates aChainState
for build already executed and stopped on manual stage of failed@NotNull ChainStateResult
ChainResultManagerImpl.updateForContinuedBuild
(@NotNull BuildContext chainBuildContext, @NotNull Collection<BuildContext> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull ChainStateResult
ChainResultManager.updateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig) Deprecated.@NotNull ChainStateResult
ChainResultManagerImpl.updateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) Modifier and TypeMethodDescription@NotNull ChainStateResult
ChainResultManager.create
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull Collection<? extends ImmutableChainStage> stageToExecute) @NotNull ChainStateResult
ChainResultManagerImpl.create
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull Collection<? extends ImmutableChainStage> stagesToExecute) @NotNull ChainStateResult
ChainResultManager.createStateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig, @NotNull Map<PlanResultKey, ChainResultManager.JobResultInfoForRerun> jobRestartInfo) Creates aChainState
as well stage and job results for build already executed and being rerun.@NotNull ChainStateResult
ChainResultManagerImpl.createStateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig, @NotNull Map<PlanResultKey, ChainResultManager.JobResultInfoForRerun> jobResultInfoForRerunMap) @NotNull ChainStateResult
ChainResultManager.updateForContinuedBuild
(@NotNull BuildContext chainBuildContext, @NotNull Collection<BuildContext> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) Creates aChainState
for build already executed and stopped on manual stage of failed@NotNull ChainStateResult
ChainResultManagerImpl.updateForContinuedBuild
(@NotNull BuildContext chainBuildContext, @NotNull Collection<BuildContext> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) @NotNull ChainStateResult
ChainResultManager.updateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, PlanExecutionConfig planExecutionConfig) Deprecated.since 9.0 useChainResultManager.cleanForRerunBuild(BuildContext)
followed by#createStateForRerunBuild(BuildContext, Map, PlanExecutionConfig)
@NotNull ChainStateResult
ChainResultManagerImpl.updateForRerunBuild
(@NotNull BuildContext chainBuildContext, @NotNull Map<ImmutableChainStage, Map<ImmutableJob, BuildContext>> jobBuildContexts, @NotNull PlanExecutionConfig planExecutionConfig) -
Uses of BuildContext in com.atlassian.bamboo.chains.plugins
Modifier and TypeMethodDescriptionvoid
PreJobAction.execute
(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext) Executes the custom action -
Uses of BuildContext in com.atlassian.bamboo.clover.builder.coverage
Modifier and TypeMethodDescription@NotNull BuildContext
CloverBuildProcessor.call()
@NotNull BuildContext
CloverDeltaCalculator.call()
protected @NotNull BuildContext
CloverDeltaCalculator.callInTransaction()
-
Uses of BuildContext in com.atlassian.bamboo.event
Modifier and TypeMethodDescription@Nullable BuildContext
BuildFinishedEvent.getBuildContext()
Build context is only available if build finished 'cleanly' (i.e.@NotNull BuildContext
ChainCompletedEvent.getBuildContext()
ChainStartedEvent.getBuildContext()
@NotNull BuildContext
ChainCompletedEvent.getContext()
ModifierConstructorDescriptionBuildFinishedEvent
(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, @Nullable BuildContext buildContext) BuildFinishedEvent
(Object source, PlanResultKey planResultKey, BuildState buildState, LifeCycleState lifeCycleState, @Nullable BuildContext buildContext, @NotNull Timestamp buildCompletionTimestamp) ChainCompletedEvent
(Object source, @NotNull ChainExecution chainExecution, @NotNull BuildContext buildContext) ChainStartedEvent
(Object source, PlanResultKey planResultKey, BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.plan
Modifier and TypeMethodDescription@NotNull BuildContext
PlanStatePersister.saveFinishedBuildResult
(@NotNull BuildContext buildContext) Saves results of build represented by a BuildContext into DB in single transaction.@NotNull BuildContext
PlanStatePersisterImpl.saveFinishedBuildResult
(@NotNull BuildContext buildContext) @NotNull BuildContext
PlanStatePersisterService.saveFinishedBuildResult
(@NotNull BuildContext buildContext) Saves results of a finished build represented by a BuildContext@NotNull BuildContext
PlanStatePersisterServiceImpl.saveFinishedBuildResult
(@NotNull BuildContext buildContext) Modifier and TypeMethodDescription@NotNull BuildContext
PlanStatePersister.saveFinishedBuildResult
(@NotNull BuildContext buildContext) Saves results of build represented by a BuildContext into DB in single transaction.@NotNull BuildContext
PlanStatePersisterImpl.saveFinishedBuildResult
(@NotNull BuildContext buildContext) @NotNull BuildContext
PlanStatePersisterService.saveFinishedBuildResult
(@NotNull BuildContext buildContext) Saves results of a finished build represented by a BuildContext@NotNull BuildContext
PlanStatePersisterServiceImpl.saveFinishedBuildResult
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.plan.artifact
Modifier and TypeMethodDescription@NotNull List<ArtifactDefinitionContext>
ArtifactSubscriptionManager.prepareArtifactDefinitionContexts
(@NotNull ImmutableJob job, @NotNull BuildContext buildContext, SecureToken secureToken) Helps prepare the artifact definitions@NotNull List<ArtifactDefinitionContext>
ArtifactSubscriptionManagerImpl.prepareArtifactDefinitionContexts
(@NotNull ImmutableJob job, @NotNull BuildContext buildContext, SecureToken secureToken) @NotNull List<ArtifactSubscriptionContext>
ArtifactSubscriptionManager.prepareSubscriptionContexts
(@NotNull ImmutableJob job, @NotNull BuildContext parentBuildContext, SecureToken secureToken) @NotNull List<ArtifactSubscriptionContext>
ArtifactSubscriptionManagerImpl.prepareSubscriptionContexts
(@NotNull ImmutableJob job, @NotNull BuildContext parentBuildContext, SecureToken secureToken) -
Uses of BuildContext in com.atlassian.bamboo.plan.branch
Modifier and TypeMethodDescription@Nullable VcsBranch
BranchIntegrationHelperImpl.getIntegrationVcsBranch
(@NotNull BuildContext buildContext) @Nullable VcsBranch
VcsBranchIntegrationHelper.getIntegrationVcsBranch
(@NotNull BuildContext buildContext) @Nullable PlanRepositoryDefinition
BranchIntegrationHelperImpl.getIntegrationVcsRepository
(@NotNull BuildContext buildContext) @Nullable PlanRepositoryDefinition
VcsBranchIntegrationHelper.getIntegrationVcsRepository
(@NotNull BuildContext buildContext) Deprecated.@NotNull MergeResult
BranchIntegrationHelperImpl.merge
(@NotNull BuildContext buildContext, @NotNull VcsRepositoryData defaultRepositoryDefinition, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull VcsBranch integrationBranch, @NotNull File mergeDir, @Nullable BuildLogger logger) @NotNull MergeResult
VcsBranchIntegrationHelper.merge
(@NotNull BuildContext buildContext, @NotNull VcsRepositoryData repositoryData, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull VcsBranch integrationBranch, @NotNull File mergeDir, @Nullable BuildLogger logger) void
BranchIntegrationHelperImpl.mergeAndUpdateResult
(@NotNull BuildContext buildContext, @NotNull PlanRepositoryDefinition defaultRepositoryDef, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull MergeResultContext mergeResult, @NotNull File mergeDir, @Nullable BuildLogger buildLogger, @NotNull Consumer<MergeResult> mergeResultConsumer, @NotNull Runnable afterMergeFinished) void
VcsBranchIntegrationHelper.mergeAndUpdateResult
(@NotNull BuildContext buildContext, @NotNull PlanRepositoryDefinition defaultRepositoryDef, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull MergeResultContext mergeResult, @NotNull File mergeDir, @Nullable BuildLogger buildLogger, @NotNull Consumer<MergeResult> mergeResultConsumer, @NotNull Runnable afterMergeFinished) -
Uses of BuildContext in com.atlassian.bamboo.plan.trigger
Modifier and TypeMethodDescription@NotNull TriggerReason
TriggerManager.getTriggerReason
(@NotNull BuildContext buildContext) Creates a new instance of theCommonContext.getTriggerReason()
@NotNull TriggerReason
TriggerManagerImpl.getTriggerReason
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.plan.vcsRevision
Modifier and TypeMethodDescriptionvoid
PlanVcsRevisionHistoryService.markBuildStarted
(@NotNull BuildContext buildContext) Saves the information on started build in the plan's vcs revision history.void
PlanVcsRevisionHistoryServiceImpl.markBuildStarted
(@NotNull BuildContext buildContext) void
PlanVcsRevisionHistoryManager.markBuildStartedNewTx
(@NotNull BuildContext buildContext) Saves the information on started build in the plan's vcs revision history.void
PlanVcsRevisionHistoryManagerImpl.markBuildStartedNewTx
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.plugin
Modifier and TypeMethodDescriptionstatic Iterable<TaskDefinition>
BambooPluginUtils.filterEnabledTasks
(BuildContext buildContext, String pluginKey) static Iterable<TaskDefinition>
BambooPluginUtils.filterTasks
(BuildContext buildContext, String pluginKey) -
Uses of BuildContext in com.atlassian.bamboo.plugins.bitbucket
Modifier and TypeMethodDescriptionboolean
BitbucketRepository.mergeWorkspaceWith
(@NotNull BuildContext buildContext, @NotNull File checkoutDirectory, @NotNull String targetRevision) @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) -
Uses of BuildContext in com.atlassian.bamboo.plugins.git
Modifier and TypeMethodDescriptionboolean
GitHubRepository.mergeWorkspaceWith
(@NotNull BuildContext buildContext, @NotNull File file, @NotNull String s) boolean
GitRepository.mergeWorkspaceWith
(@NotNull BuildContext buildContext, @NotNull File workspaceDir, @NotNull String targetRevision) @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
GitHubRepository.retrieveSourceCode
(@NotNull BuildContext buildContext, @Nullable String vcsRevisionKey, @NotNull File sourceDirectory, int depth) @NotNull String
GitRepository.retrieveSourceCode
(@NotNull BuildContext buildContext, @Nullable PlanVcsRevisionData planVcsRevisionData, @NotNull File sourceDirectory, int depth) @NotNull String
GitRepository.retrieveSourceCode
(@NotNull BuildContext buildContext, @Nullable String vcsRevisionKey, @NotNull File sourceDirectory) @NotNull String
GitRepository.retrieveSourceCode
(@NotNull BuildContext buildContext, @Nullable String vcsRevisionKey, @NotNull File sourceDirectory, int depth) -
Uses of BuildContext in com.atlassian.bamboo.plugins.labeller
Modifier and TypeMethodDescription@NotNull BuildContext
BuildLabeller.call()
This action will run after a build has completed.@NotNull BuildContext
BuildLabellerCustomBuildProcessor.call()
@NotNull BuildContext
BuildLogLabellerPreBuildAction.call()
Modifier and TypeMethodDescriptionvoid
BuildLabeller.init
(@NotNull BuildContext buildContext) void
BuildLogLabellerPreBuildAction.init
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.plugins.maven.dependencies
Modifier and TypeMethodDescription@NotNull BuildContext
MavenDependenciesServerPostProcessor.call()
Modifier and TypeMethodDescriptionvoid
MavenDependenciesServerPostProcessor.init
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.plugins.rest.model.queue
ModifierConstructorDescriptionRestQueuedBuild
(@NotNull BuildContext buildContext) RestQueuedBuild
(@NotNull BuildContext buildContext, @NotNull List<? extends RepositoryChangeset> changesets, @NotNull javax.ws.rs.core.UriInfo uriInfo) RestQueuedBuild
(@NotNull BuildContext buildContext, @NotNull javax.ws.rs.core.UriInfo uriInfo) -
Uses of BuildContext in com.atlassian.bamboo.plugins.stash
Modifier and TypeMethodDescriptionboolean
StashRepositoryImpl.mergeWorkspaceWith
(@NotNull BuildContext buildContext, @NotNull File checkoutDirectory, @NotNull String targetRevision) @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) -
Uses of BuildContext in com.atlassian.bamboo.repository
Modifier and TypeMethodDescriptionvoid
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 repositoryboolean
BranchMergingAwareRepository.mergeWorkspaceWith
(@NotNull BuildContext buildContext, @NotNull File checkoutDirectory, @NotNull String targetRevision) Merges a workspace located in checkout directory with the target revision.void
InitialBuildAwareRepository.onInitialBuild
(BuildContext buildContext) Allows theRepository
to perform custom actions when an initial build is triggered.@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@NotNull String
CheckoutCustomRevisionDataAwareRepository.retrieveSourceCode
(@NotNull BuildContext buildContext, @Nullable PlanVcsRevisionData planVcsRevisionData, @NotNull File sourceDirectory, int depth) -
Uses of BuildContext in com.atlassian.bamboo.repository.nullrepository
Modifier and TypeMethodDescription@NotNull String
NullRepository.retrieveSourceCode
(@NotNull BuildContext buildContext, @Nullable String vcsRevisionKey, @NotNull File sourceDirectory) -
Uses of BuildContext in com.atlassian.bamboo.repository.svn
Modifier and TypeMethodDescriptionvoid
SvnRepository.createBranch
(long repositoryId, @NotNull String branchName, @NotNull BuildContext buildContext) void
SvnRepository.createTag
(long repositoryId, @NotNull String tagName, @NotNull BuildContext buildContext) SvnRepository.getHost
(BuildContext buildContext) void
SvnRepository.onInitialBuild
(BuildContext buildContext) void
SvnRepository.postRetrieveSourceCode
(@NotNull BuildContext buildContext, @NotNull File sourceDirectory) void
SvnRepository.preRetrieveSourceCode
(@NotNull BuildContext buildContext, @NotNull File sourceDirectory) Checks if the SVN URL has changed@NotNull String
SvnRepository.retrieveSourceCode
(@NotNull BuildContext buildContext, @Nullable String vcsRevisionKey, @NotNull File sourceDirectory) -
Uses of BuildContext in com.atlassian.bamboo.results
Modifier and TypeMethodDescriptionBuildResults.cloneAsBuildResults
(BuildContext buildContext, ReasonForBuild reasonForBuild) Deprecated.BuildResultsImpl.cloneAsBuildResults
(BuildContext buildContext, ReasonForBuild reasonForBuild) Deprecated. -
Uses of BuildContext in com.atlassian.bamboo.resultsummary
Modifier and TypeMethodDescription<T extends ResultsSummary>
TBuildResultsSummaryManager.createResultsSummary
(@Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext buildContext, @NotNull Class<T> aClass) Deprecated.<T extends ResultsSummary>
TBuildResultsSummaryManagerImpl.createResultsSummary
(@NotNull BuildContext buildContext, @NotNull Class<T> aClass) <T extends ResultsSummary>
TBuildResultsSummaryManagerImpl.createResultsSummary
(@Nullable ChainResultsSummary chainResultsSummary, @NotNull BuildContext buildContext, @NotNull Class<T> aClass) <T extends ResultsSummary>
TResultsSummaryManager.createResultsSummary
(@NotNull BuildContext buildContext, @NotNull Class<T> aClass) Creates aResultsSummary
of the givenClass
@NotNull BuildResultsSummary
BuildResultsSummaryManager.updateBuildSummaryFromBuildResults
(BuildContext buildContext, @NotNull CurrentlyBuilding currentlyBuilding, BuildResults buildResults) Deprecated.Updates BuildResultsSummary after build is completed.@NotNull BuildResultsSummary
BuildResultsSummaryManagerImpl.updateBuildSummaryFromBuildResults
(BuildContext buildContext, @NotNull CurrentlyBuilding currentlyBuilding, BuildResults buildResults) void
BuildResultsSummaryManagerImpl.updateResultSummaryWithBuildChanges
(@NotNull BuildContext buildContext) void
ResultsSummaryManager.updateResultSummaryWithBuildChanges
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.resultsummary.tests
Modifier and TypeMethodDescriptionvoid
TestsManager.copyTestResultsToBuildResultsSummary
(@NotNull BuildResultsSummary summary, @NotNull BuildResults buildResults, @NotNull BuildContext buildContext) Converts the test results sent back from the agent to a list of TestClassResults and attaches them to the BRS.void
TestsManagerImpl.copyTestResultsToBuildResultsSummary
(@NotNull BuildResultsSummary summary, @NotNull BuildResults buildResults, @NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.task
Modifier and TypeMethodDescription@NotNull BuildContext
TaskContext.getBuildContext()
Contains all the build related information about the running of the tasks@NotNull BuildContext
TaskContextImpl.getBuildContext()
@Nullable BuildContext
TaskExecutionContext.getBuildContext()
-
Uses of BuildContext in com.atlassian.bamboo.v2.build
Modifier and TypeMethodDescription@Nullable BuildContext
BuildContext.getParentBuildContext()
If this context is forImmutableJob
returns context of owner chain, null otherwise.BuildContextImpl.getParentBuildContext()
static @NotNull BuildContext
BuildContextHelper.getTopLevelBuildContext
(@NotNull BuildContext initialBuildContext) Modifier and TypeMethodDescriptionCurrentBuildResult.cloneAsBuildResults
(BuildContext buildContext, ReasonForBuild reasonForBuild) CurrentBuildResultImpl.cloneAsBuildResults
(BuildContext buildContext, ReasonForBuild reasonForBuild) static File
BuildContextHelper.getBuildWorkingDirectory
(BuildContext buildContext) Deprecated.Since 5.0 useBuildContextHelper.getBuildWorkingDirectory(CommonContext)
insteadstatic @Nullable PlanRepositoryDefinition
BuildContextHelper.getDefaultPlanRepositoryDefinition
(BuildContext buildContext) static @NotNull BuildContext
BuildContextHelper.getTopLevelBuildContext
(@NotNull BuildContext initialBuildContext) void
BaseConfigurableBuildPlugin.init
(@NotNull BuildContext buildContext) static void
BuildContextHelper.rewire
(BuildContext buildContext) ModifierConstructorDescriptionBuildContextImpl
(BuildIdentifier identifier, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges, @Nullable BuildContext parentBuildContext, @Nullable ArtifactContext artifactContext, VariableContext variableContext, @Nullable Map<String, String> customBuildData, Map<Long, PlanRepositoryDefinition> planRepositoryDefinitionMap, Set<Long> relevantRepositoryIds, Map<Long, String> checkoutLocation, boolean isBranch, boolean isOnceOff, boolean isCustomBuild, boolean isVerboseLoggingOn, BambooBandanaContext bandanaContext, @NotNull Iterable<CredentialsData> relevantSharedCredentials, @NotNull Map<PlanKey, ChainStorageTag> relevantStorageTags, BuildKey buildKey, MergeResultContext mergeResult, boolean expectingCustomDedicatedAgent) Using this constructor directly is not recommended. -
Uses of BuildContext in com.atlassian.bamboo.v2.build.agent
Modifier and TypeMethodDescriptionvoid
LocalBuildResultProcessor.processBuildResult
(@NotNull BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.v2.build.events
Modifier and TypeMethodDescription@NotNull BuildContext
BuildContextEvent.getBuildContext()
Deprecated.since 5.0 useBuildContextEvent.getContext()
@NotNull BuildContext
BuildContextEvent.getContext()
ModifierConstructorDescriptionBuildContextEvent
(@NotNull Object source, @NotNull BuildContext buildContext) BuildQueuedEvent
(@NotNull Object source, @NotNull BuildContext buildContext) BuildTriggeredEvent
(Object source, BuildContext buildContext) Deprecated.PostBuildCompletedEvent
(Object source, BuildContext buildContext) -
Uses of BuildContext in com.atlassian.bamboo.v2.build.queue
Modifier and TypeMethodDescriptionstatic <V> QueueManagerView<BuildContext,
V> QueueManagerView.newBuildView
(BuildQueueManager buildQueueManager, Function<BuildQueueManager.QueueItemView<BuildContext>, BuildQueueManager.QueueItemView<V>> viewMapper) Convenience method that returns a view with builds (not deployments).Modifier and TypeMethodDescriptionstatic <V> QueueManagerView<BuildContext,
V> QueueManagerView.newBuildView
(BuildQueueManager buildQueueManager, Function<BuildQueueManager.QueueItemView<BuildContext>, BuildQueueManager.QueueItemView<V>> viewMapper) Convenience method that returns a view with builds (not deployments). -
Uses of BuildContext in com.atlassian.bamboo.v2.build.repository
Modifier and TypeMethodDescriptionvoid
RepositoryEventAware.postRetrieveSourceCode
(@NotNull BuildContext buildContext, @NotNull File sourceDirectory) postRetrieveSourceCode will run after the retrieveSourceCode method is called.void
RepositoryEventAware.preRetrieveSourceCode
(@NotNull BuildContext buildContext, @NotNull File sourceDirectory) preRetrieveSourceCode will run before the retrieveSourceCode method is called.@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@NotNull String
LegacyRepository.retrieveSourceCode
(@NotNull BuildContext buildContext, @Nullable String vcsRevisionKey) Deprecated. -
Uses of BuildContext in com.atlassian.bamboo.v2.build.task
Modifier and TypeMethodDescriptionvoid
AbstractBuildTask.init
(@NotNull BuildContext buildContext) void
BuildTask.init
(@NotNull BuildContext buildContext) void
CapabililitiesAwareBuildTask.init
(BuildContext buildContext, @NotNull ReadOnlyCapabilitySet capabilitySet) -
Uses of BuildContext in com.atlassian.bamboo.v2.build.timing
Modifier and TypeMethodDescription@NotNull BuildContext
AbstractBuildContextTimingPoint.getBuildContext()
@NotNull BuildContext
BuildContextTimingPoint.getBuildContext()
Modifier and TypeMethodDescriptionstatic BuildTimingPoints.Queued
BuildTimingPoints.queued
(@NotNull BuildContext buildContext, @NotNull Date date) ModifierConstructorDescriptionprotected
AbstractBuildContextTimingPoint
(@NotNull BuildContext buildContext, @NotNull Date date) Queued
(@NotNull BuildContext buildContext, @NotNull Date date) -
Uses of BuildContext in com.atlassian.bamboo.v2.build.trigger
Modifier and TypeMethodDescription@NotNull TriggerReason
AbstractTriggerReason.getChildTriggerReason
(BuildContext child, ImmutablePlan plan) @NotNull TriggerReason
TriggerReason.getChildTriggerReason
(BuildContext child, ImmutablePlan plan) If build A (triggered because of this TriggerReason) caused builds of plans X,Y,Z to trigger, this method will be called to determine trigger reasons for plans X, Y, Z. -
Uses of BuildContext in com.atlassian.bamboo.v2.trigger
Modifier and TypeFieldDescriptionprotected final BuildContext
AbstractDependentDetectionAction.completedBuildContext
Modifier and TypeMethodDescriptionprotected @Nullable BuildContext
AbstractDependentDetectionAction.prepareBuildContext
(@NotNull ErrorCollection errorCollection) Modifier and TypeMethodDescription@Nullable BuildChanges
AbstractDependentDetectionAction.performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @Nullable BuildChanges
ChildDependencyBuildDetectionAction.performDelayedChangeDetection
(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @NotNull BuildChanges
ContinuedBuildDetectionAction.performDelayedChangeDetection
(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @Nullable BuildChanges
InitialBuildDetectionAction.performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @Nullable BuildChanges
ManualBuildDetectionAction.performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @Nullable BuildChanges
ScheduledBuildDetectionAction.performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) @Nullable BuildChanges
TagBuildAction.performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) ModifierConstructorDescriptionAbstractDependentDetectionAction
(ImmutableChain chain, ImmutableChain parentChain, BuildContext completedBuildContext, ErrorUpdateHandler errorUpdateHandler, TriggerManager triggerManager, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildLoggerManager buildLoggerManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService, BuildContextBuilderFactory buildContextBuilderFactory, CustomVariableContext customVariableContext, VcsRepositoryManager vcsRepositoryManager) DependentBuildDetectionAction
(ImmutableChain chain, ImmutableChain parentChain, BuildContext completedBuildContext, ErrorUpdateHandler errorUpdateHandler, TriggerManager triggerManager, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildLoggerManager buildLoggerManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService, BuildContextBuilderFactory buildContextBuilderFactory, CustomVariableContext customVariableContext, VcsRepositoryManager vcsRepositoryManager) -
Uses of BuildContext in com.atlassian.bamboo.vcs.configuration.legacy
Modifier and TypeMethodDescription@Nullable BuildContext
DeploymentRepositoryBuildContext.getParentBuildContext()
-
Uses of BuildContext in com.atlassian.bamboo.vcsversion
ChainResultManager.cleanForRerunBuild(BuildContext)
followed by#createStateForRerunBuild(BuildContext, Map, PlanExecutionConfig)