Uses of Interface
com.atlassian.bamboo.v2.build.BuildContext
-
-
Uses of BuildContext in com.atlassian.bamboo.analytics
Methods in com.atlassian.bamboo.analytics with parameters of type BuildContext Modifier and Type Method Description void
MauService. processActivityForBuild(BuildContext context)
void
MauServiceImpl. processActivityForBuild(BuildContext context)
-
Uses of BuildContext in com.atlassian.bamboo.author
Methods in com.atlassian.bamboo.author with parameters of type BuildContext Modifier and Type Method Description void
AuthorCreatorService. createMissingAuthors(BuildContext buildContext)
Creates records for Authorsvoid
AuthorCreatorServiceImpl. createMissingAuthors(BuildContext buildContext)
-
Uses of BuildContext in com.atlassian.bamboo.build
Methods in com.atlassian.bamboo.build that return BuildContext Modifier and Type Method Description @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()
Methods in com.atlassian.bamboo.build with parameters of type BuildContext Modifier and Type Method Description @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.Constructors in com.atlassian.bamboo.build with parameters of type BuildContext Constructor Description BuildDetectionResultImpl(ErrorCollection errorCollection, @Nullable BuildContext buildContext)
BuildRequestResultImpl(@Nullable BuildContext buildContext, @NotNull ErrorCollection errors)
-
Uses of BuildContext in com.atlassian.bamboo.build.artifact
Methods in com.atlassian.bamboo.build.artifact that return BuildContext Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.build.context that return BuildContext Modifier and Type Method Description @NotNull BuildContext
BuildContextBuilder. build()
@NotNull BuildContext
BuildContextBuilderImpl. build()
Methods in com.atlassian.bamboo.build.context with parameters of type BuildContext Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.build.monitoring that return BuildContext Modifier and Type Method Description @NotNull BuildContext
BuildMonitoringPerPlanPlugin. call()
Methods in com.atlassian.bamboo.build.monitoring with parameters of type BuildContext Modifier and Type Method Description void
BuildMonitoringPerPlanPlugin. init(@NotNull BuildContext buildContext)
-
Uses of BuildContext in com.atlassian.bamboo.build.warning
Methods in com.atlassian.bamboo.build.warning with parameters of type BuildContext Modifier and Type Method Description void
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
Methods in com.atlassian.bamboo.chains that return BuildContext Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.chains that return types with arguments of type BuildContext Modifier and Type Method Description @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)
Methods in com.atlassian.bamboo.chains with parameters of type BuildContext Modifier and Type Method Description void
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
@NotNull Map<PlanResultKey,ChainResultManager.JobResultInfoForRerun>
ChainResultManager. cleanForRerunBuild(@NotNull BuildContext chainBuildContext)
Removes all job and stage results.@NotNull Map<PlanResultKey,ChainResultManager.JobResultInfoForRerun>
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.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)
Method parameters in com.atlassian.bamboo.chains with type arguments of type BuildContext Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.chains.plugins with parameters of type BuildContext Modifier and Type Method Description void
PreJobAction. execute(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext)
Executes the custom action -
Uses of BuildContext in com.atlassian.bamboo.clover.builder.coverage
Methods in com.atlassian.bamboo.clover.builder.coverage that return BuildContext Modifier and Type Method Description @NotNull BuildContext
CloverBuildProcessor. call()
@NotNull BuildContext
CloverDeltaCalculator. call()
protected @NotNull BuildContext
CloverDeltaCalculator. callInTransaction()
-
Uses of BuildContext in com.atlassian.bamboo.event
Methods in com.atlassian.bamboo.event that return BuildContext Modifier and Type Method Description @Nullable BuildContext
BuildFinishedEvent. getBuildContext()
Build context is only available if build finished 'cleanly' (i.e.@NotNull BuildContext
ChainCompletedEvent. getBuildContext()
BuildContext
ChainStartedEvent. getBuildContext()
@NotNull BuildContext
ChainCompletedEvent. getContext()
Constructors in com.atlassian.bamboo.event with parameters of type BuildContext Constructor Description BuildFinishedEvent(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
Methods in com.atlassian.bamboo.plan that return BuildContext Modifier and Type Method Description @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)
Methods in com.atlassian.bamboo.plan with parameters of type BuildContext Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.plan.artifact with parameters of type BuildContext Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.plan.branch with parameters of type BuildContext Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.plan.trigger with parameters of type BuildContext Modifier and Type Method Description @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
Methods in com.atlassian.bamboo.plan.vcsRevision with parameters of type BuildContext Modifier and Type Method Description void
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
Methods in com.atlassian.bamboo.plugin with parameters of type BuildContext Modifier and Type Method Description static 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
Methods in com.atlassian.bamboo.plugins.bitbucket with parameters of type BuildContext Modifier and Type Method Description boolean
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
Methods in com.atlassian.bamboo.plugins.git with parameters of type BuildContext Modifier and Type Method Description 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 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
Methods in com.atlassian.bamboo.plugins.labeller that return BuildContext Modifier and Type Method Description @NotNull BuildContext
BuildLabeller. call()
This action will run after a build has completed.@NotNull BuildContext
BuildLabellerCustomBuildProcessor. call()
@NotNull BuildContext
BuildLogLabellerPreBuildAction. call()
Methods in com.atlassian.bamboo.plugins.labeller with parameters of type BuildContext Modifier and Type Method Description void
BuildLabeller. init(@NotNull BuildContext buildContext)
void
BuildLogLabellerPreBuildAction. init(@NotNull BuildContext buildContext)
-
Uses of BuildContext in com.atlassian.bamboo.plugins.maven.dependencies
Methods in com.atlassian.bamboo.plugins.maven.dependencies that return BuildContext Modifier and Type Method Description @NotNull BuildContext
MavenDependenciesServerPostProcessor. call()
Methods in com.atlassian.bamboo.plugins.maven.dependencies with parameters of type BuildContext Modifier and Type Method Description void
MavenDependenciesServerPostProcessor. init(@NotNull BuildContext buildContext)
-
Uses of BuildContext in com.atlassian.bamboo.plugins.rest.model.queue
Constructors in com.atlassian.bamboo.plugins.rest.model.queue with parameters of type BuildContext Constructor Description RestQueuedBuild(@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
Methods in com.atlassian.bamboo.plugins.stash with parameters of type BuildContext Modifier and Type Method Description boolean
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
Methods in com.atlassian.bamboo.repository with parameters of type BuildContext Modifier and Type Method Description 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 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
Methods in com.atlassian.bamboo.repository.nullrepository with parameters of type BuildContext Modifier and Type Method Description @NotNull String
NullRepository. retrieveSourceCode(@NotNull BuildContext buildContext, @Nullable String vcsRevisionKey, @NotNull File sourceDirectory)
-
Uses of BuildContext in com.atlassian.bamboo.repository.perforce
Methods in com.atlassian.bamboo.repository.perforce with parameters of type BuildContext Modifier and Type Method Description @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 -
Uses of BuildContext in com.atlassian.bamboo.repository.svn
Methods in com.atlassian.bamboo.repository.svn with parameters of type BuildContext Modifier and Type Method Description void
SvnRepository. createBranch(long repositoryId, @NotNull String branchName, @NotNull BuildContext buildContext)
void
SvnRepository. createTag(long repositoryId, @NotNull String tagName, @NotNull BuildContext buildContext)
String
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
Methods in com.atlassian.bamboo.results with parameters of type BuildContext Modifier and Type Method Description BuildResults
BuildResults. cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
Deprecated.BuildResults
BuildResultsImpl. cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
Deprecated. -
Uses of BuildContext in com.atlassian.bamboo.resultsummary
Methods in com.atlassian.bamboo.resultsummary with parameters of type BuildContext Modifier and Type Method Description <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
Methods in com.atlassian.bamboo.resultsummary.tests with parameters of type BuildContext Modifier and Type Method Description void
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
Methods in com.atlassian.bamboo.task that return BuildContext Modifier and Type Method Description @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
Classes in com.atlassian.bamboo.v2.build that implement BuildContext Modifier and Type Class Description class
BuildContextImpl
Fields in com.atlassian.bamboo.v2.build declared as BuildContext Modifier and Type Field Description protected BuildContext
BaseConfigurableBuildPlugin. buildContext
Methods in com.atlassian.bamboo.v2.build that return BuildContext Modifier and Type Method Description @Nullable BuildContext
BuildContext. getParentBuildContext()
If this context is forImmutableJob
returns context of owner chain, null otherwise.BuildContext
BuildContextImpl. getParentBuildContext()
static @NotNull BuildContext
BuildContextHelper. getTopLevelBuildContext(@NotNull BuildContext initialBuildContext)
Methods in com.atlassian.bamboo.v2.build with parameters of type BuildContext Modifier and Type Method Description BuildResults
CurrentBuildResult. cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
BuildResults
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)
Constructors in com.atlassian.bamboo.v2.build with parameters of type BuildContext Constructor Description BuildContextImpl(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
Methods in com.atlassian.bamboo.v2.build.agent with parameters of type BuildContext Modifier and Type Method Description void
LocalBuildResultProcessor. processBuildResult(@NotNull BuildContext buildContext)
-
Uses of BuildContext in com.atlassian.bamboo.v2.build.events
Methods in com.atlassian.bamboo.v2.build.events that return BuildContext Modifier and Type Method Description @NotNull BuildContext
BuildContextEvent. getBuildContext()
Deprecated.since 5.0 useBuildContextEvent.getContext()
@NotNull BuildContext
BuildContextEvent. getContext()
Constructors in com.atlassian.bamboo.v2.build.events with parameters of type BuildContext Constructor Description BuildContextEvent(@NotNull Object source, @NotNull BuildContext buildContext)
BuildQueuedEvent(@NotNull Object source, @NotNull BuildContext buildContext)
BuildTriggeredEvent(Object source, BuildContext buildContext)
PostBuildCompletedEvent(Object source, BuildContext buildContext)
-
Uses of BuildContext in com.atlassian.bamboo.v2.build.queue
Methods in com.atlassian.bamboo.v2.build.queue that return types with arguments of type BuildContext Modifier and Type Method Description static <V> QueueManagerView<BuildContext,V>
QueueManagerView. newBuildView(BuildQueueManager buildQueueManager, com.google.common.base.Function<BuildQueueManager.QueueItemView<BuildContext>,BuildQueueManager.QueueItemView<V>> viewMapper)
Convenience method that returns a view with builds (not deployments).Method parameters in com.atlassian.bamboo.v2.build.queue with type arguments of type BuildContext Modifier and Type Method Description static <V> QueueManagerView<BuildContext,V>
QueueManagerView. newBuildView(BuildQueueManager buildQueueManager, com.google.common.base.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
Methods in com.atlassian.bamboo.v2.build.repository with parameters of type BuildContext Modifier and Type Method Description void
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
Fields in com.atlassian.bamboo.v2.build.task declared as BuildContext Modifier and Type Field Description protected BuildContext
AbstractBuildTask. buildContext
Methods in com.atlassian.bamboo.v2.build.task that return BuildContext Modifier and Type Method Description @NotNull BuildContext
BuildTask. call()
Execute the build task.Methods in com.atlassian.bamboo.v2.build.task with parameters of type BuildContext Modifier and Type Method Description void
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
Methods in com.atlassian.bamboo.v2.build.timing that return BuildContext Modifier and Type Method Description @NotNull BuildContext
AbstractBuildContextTimingPoint. getBuildContext()
@NotNull BuildContext
BuildContextTimingPoint. getBuildContext()
Methods in com.atlassian.bamboo.v2.build.timing with parameters of type BuildContext Modifier and Type Method Description static BuildTimingPoints.Queued
BuildTimingPoints. queued(@NotNull BuildContext buildContext, @NotNull Date date)
Constructors in com.atlassian.bamboo.v2.build.timing with parameters of type BuildContext Constructor Description AbstractBuildContextTimingPoint(@NotNull BuildContext buildContext, @NotNull Date date)
Queued(@NotNull BuildContext buildContext, @NotNull Date date)
-
Uses of BuildContext in com.atlassian.bamboo.v2.build.trigger
Methods in com.atlassian.bamboo.v2.build.trigger with parameters of type BuildContext Modifier and Type Method Description @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
Fields in com.atlassian.bamboo.v2.trigger declared as BuildContext Modifier and Type Field Description protected BuildContext
AbstractDependentDetectionAction. completedBuildContext
Methods in com.atlassian.bamboo.v2.trigger that return BuildContext Modifier and Type Method Description protected @Nullable BuildContext
AbstractDependentDetectionAction. prepareBuildContext(@NotNull ErrorCollection errorCollection)
Constructors in com.atlassian.bamboo.v2.trigger with parameters of type BuildContext Constructor Description AbstractDependentDetectionAction(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
Classes in com.atlassian.bamboo.vcs.configuration.legacy that implement BuildContext Modifier and Type Class Description class
DeploymentRepositoryBuildContext
Methods in com.atlassian.bamboo.vcs.configuration.legacy that return BuildContext Modifier and Type Method Description @Nullable BuildContext
DeploymentRepositoryBuildContext. getParentBuildContext()
-
Uses of BuildContext in com.atlassian.bamboo.vcsversion
Methods in com.atlassian.bamboo.vcsversion that return BuildContext Modifier and Type Method Description @NotNull BuildContext
VCSVersionReader. call()
-