Modifier and Type | Method and Description |
---|---|
void |
MauService.processActivityForBuild(BuildContext context) |
void |
MauServiceImpl.processActivityForBuild(BuildContext context) |
Modifier and Type | Method and Description |
---|---|
void |
AuthorCreatorServiceImpl.createMissingAuthors(BuildContext buildContext) |
void |
AuthorCreatorService.createMissingAuthors(BuildContext buildContext)
Creates records for Authors
|
Modifier and Type | Method and Description |
---|---|
@Nullable BuildContext |
BuildRequestResultImpl.getBuildContext() |
@Nullable BuildContext |
BuildRequestResult.getBuildContext() |
@Nullable BuildContext |
BuildDetectionResult.getBuildContext()
The
BuildContext produced by a successful execution of a BuildDetectionAction |
@Nullable BuildContext |
BuildDetectionResultImpl.getBuildContext()
The
BuildContext produced by a successful execution of a BuildDetectionAction |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildDetectionAction |
BuildDetectionActionFactoryImpl.createDependentBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull ImmutableChain parentChain,
@NotNull BuildContext completedBuildContext) |
@NotNull BuildDetectionAction |
BuildDetectionActionFactory.createDependentBuildDetectionAction(@NotNull ImmutableChain chain,
@NotNull ImmutableChain parentChain,
@NotNull BuildContext completedBuildContext)
Creates a new instance of
BuildDetectionAction that is used to trigger dependent builds |
void |
DefaultBuildExecutionManager.execute(@NotNull BuildContext buildContext) |
void |
BuildExecutionManager.execute(@NotNull BuildContext buildContext)
Executes the given
BuildContext
At this point a BuildResultsSummary exists that matches the given BuildContext |
void |
DefaultBuildExecutionManager.finishBuildWithCleanState(@NotNull PlanResultKey planResultKey,
@NotNull BuildContext buildContext) |
void |
BuildExecutionManager.finishBuildWithCleanState(@NotNull PlanResultKey planResultKey,
@NotNull BuildContext buildContext)
Calls removeCurrentlyBuilding and finishProcess.
|
@Nullable BuildChanges |
UnconditionalBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext,
PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions)
Performs a change detection
|
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.
|
void |
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) |
Constructor and Description |
---|
BuildDetectionResultImpl(ErrorCollection errorCollection,
@Nullable BuildContext buildContext) |
BuildRequestResultImpl(@Nullable BuildContext buildContext,
@NotNull ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
BuildArtifactPostProcessor.call()
Copy all the build's artifacts for this build across to the builds artifact directory
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
BuildContextBuilderImpl.build() |
@NotNull BuildContext |
BuildContextBuilder.build() |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContextBuilder |
BuildContextBuilderImpl.copyOf(@NotNull BuildContext other) |
@NotNull BuildContextBuilder |
BuildContextBuilder.copyOf(@NotNull BuildContext other) |
@NotNull BuildContextBuilder |
BuildContextBuilderImpl.parentBuildContext(@NotNull BuildContext parentContext) |
@NotNull BuildContextBuilder |
BuildContextBuilder.parentBuildContext(@NotNull BuildContext parentContext) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
BuildMonitoringPerPlanPlugin.call() |
Modifier and Type | Method and Description |
---|---|
void |
BuildMonitoringPerPlanPlugin.init(@NotNull BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
void |
BuildWarningSummaryCollationServiceImpl.publishCollectedWarnings(@NotNull BuildContext buildContext) |
void |
BuildWarningSummaryCollationService.publishCollectedWarnings(@NotNull BuildContext commonContext)
Ends collection of warnings and publishes them as a build artifact.
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
BuildExecution.getBuildContext()
The
BuildContext of build process represented by this object. |
@NotNull BuildContext |
ChainState.getBuildContext()
The
BuildContext of the currently executing chain |
@Nullable BuildContext |
ChainStateResult.getBuildContext(@NotNull PlanResultKey planResultKey)
Lookup a
BuildContext of a Job by its PlanResultKey |
Modifier and Type | Method and Description |
---|---|
void |
ChainPluginSupport.buildStarted(@NotNull StageExecution stageExecution,
@NotNull BuildContext buildContext)
Executes the enabled
PreJobAction s for BuildContext |
void |
ChainPluginSupport.chainCompleted(@NotNull ChainExecution chainExecution,
@NotNull BuildContext buildContext)
Executes the enabled
PostChainAction s for ChainExecution |
void |
ChainPluginSupport.chainStarted(@NotNull ChainExecution chainExecution,
@NotNull BuildContext buildContext)
Executes the enabled
PreChainAction s for ChainExecution |
@NotNull Map<PlanResultKey,ChainResultManager.JobResultInfoForRerun> |
ChainResultManagerImpl.cleanForRerunBuild(@NotNull BuildContext chainBuildContext) |
@NotNull Map<PlanResultKey,ChainResultManager.JobResultInfoForRerun> |
ChainResultManager.cleanForRerunBuild(@NotNull BuildContext chainBuildContext)
Removes all job and stage results.
|
@NotNull ChainStateResult |
ChainResultManagerImpl.create(@NotNull BuildContext chainBuildContext,
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
@NotNull Collection<? extends ImmutableChainStage> stagesToExecute) |
@NotNull ChainStateResult |
ChainResultManager.create(@NotNull BuildContext chainBuildContext,
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
@NotNull Collection<? extends ImmutableChainStage> stageToExecute)
|
@NotNull ChainState |
ChainStateFactoryImpl.create(@NotNull PlanIdentifier chain,
@NotNull BuildContext chainBuildContext,
@NotNull ChainStateResult chainResultState) |
@NotNull ChainState |
ChainStateFactory.create(@NotNull PlanIdentifier chain,
@NotNull BuildContext buildContext,
@NotNull ChainStateResult chainResultState)
Creates a
ChainState |
@NotNull ChainState |
ChainStateFactoryImpl.create(@NotNull PlanIdentifier chain,
@Nullable PlanExecutionConfig planExecutionConfig,
@NotNull BuildContext chainBuildContext,
@NotNull ChainStateResult chainResultState) |
@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 as
PlanExecutionConfig - continuable and restartable builds |
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactoryImpl.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@NotNull BuildContext parentBuildContext) |
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@NotNull BuildContext parentBuildContext)
|
@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>> |
BuildContextFactory.createBuildContextsForJobs(@NotNull ImmutableChain chain,
@Nullable ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig)
|
@NotNull Collection<BuildContext> |
BuildContextFactoryImpl.createBuildContextsForRestartedOrContinuedBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig) |
@NotNull Collection<BuildContext> |
BuildContextFactory.createBuildContextsForRestartedOrContinuedBuild(@NotNull ImmutableChain chain,
@NotNull ChainResultsSummary chainResultsSummary,
@NotNull BuildContext parentBuildContext,
@NotNull PlanExecutionConfig planExecutionConfig)
Creates a
BuildContext for each not built or failed Job in the Chain that was partially executed or is restarted
for example with "continue manual stage" action, or "re-run failed jobs" action, etc |
@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.createStateForRerunBuild(@NotNull BuildContext chainBuildContext,
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
PlanExecutionConfig planExecutionConfig,
@NotNull Map<PlanResultKey,ChainResultManager.JobResultInfoForRerun> jobRestartInfo)
Creates a
ChainState as well stage and job results for build already executed and being rerun. |
void |
ChainPluginSupport.failedStageRestarted(@NotNull StageExecution stageExecution,
@NotNull BuildContext buildContext)
Executes the enabled
RestartFailedStageAction s for StageExecution |
void |
ChainPluginSupport.manualStageResumed(@NotNull StageExecution stageExecution,
@NotNull BuildContext buildContext)
Executes the enabled
ResumeManualStageAction s for StageExecution |
void |
JobExecutionManagerImpl.requestExecution(@NotNull BuildContext buildContext) |
void |
JobExecutionManager.requestExecution(@NotNull BuildContext buildContext)
Executes
BuildContext object |
void |
ChainPluginSupport.stageCompleted(@NotNull StageExecution stageExecution,
long stageResultId,
@NotNull BuildContext buildContext)
Executes the enabled
PostStageAction s for StageExecution |
void |
ChainPluginSupport.stageStarted(@NotNull StageExecution stageExecution,
@NotNull BuildContext buildContext)
Executes the enabled
PreStageAction s for StageExecution |
void |
ChainPluginSupport.stoppedOnManualStage(@NotNull StageExecution stageExecution,
long stageResultId,
@NotNull BuildContext buildContext)
Executes the enabled
StopOnManualStageAction s for StageExecution |
void |
BuildContextFactoryImpl.updateBuildContextWithChanges(BuildContext contextToUpdate,
BuildChanges newBuildChanges) |
void |
BuildContextFactory.updateBuildContextWithChanges(BuildContext contextToUpdate,
BuildChanges newBuildChanges)
Updates the build context with build changes
|
@NotNull ChainStateResult |
ChainResultManagerImpl.updateForContinuedBuild(@NotNull BuildContext chainBuildContext,
@NotNull Collection<BuildContext> jobBuildContexts,
@NotNull PlanExecutionConfig planExecutionConfig) |
@NotNull ChainStateResult |
ChainResultManager.updateForContinuedBuild(@NotNull BuildContext chainBuildContext,
@NotNull Collection<BuildContext> jobBuildContexts,
@NotNull PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and stopped on manual stage of failed |
@NotNull ChainStateResult |
ChainResultManagerImpl.updateForRerunBuild(@NotNull BuildContext chainBuildContext,
@NotNull Map<ImmutableChainStage,Map<ImmutableJob,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 use
ChainResultManager.cleanForRerunBuild(BuildContext) followed by #createStateForRerunBuild(BuildContext, Map, PlanExecutionConfig) |
Modifier and Type | Method and Description |
---|---|
void |
PreJobAction.execute(@NotNull StageExecution stageExecution,
@NotNull BuildContext buildContext)
Executes the custom action
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
CloverDeltaCalculator.call() |
@NotNull BuildContext |
CloverBuildProcessor.call() |
protected @NotNull BuildContext |
CloverDeltaCalculator.callInTransaction() |
Modifier and Type | Method and Description |
---|---|
@Nullable BuildContext |
BuildFinishedEvent.getBuildContext()
Build context is only available if build finished 'cleanly' (i.e.
|
BuildContext |
ChainStartedEvent.getBuildContext() |
@NotNull BuildContext |
ChainCompletedEvent.getBuildContext() |
@NotNull BuildContext |
ChainCompletedEvent.getContext() |
Constructor and Description |
---|
BuildFinishedEvent(Object source,
PlanResultKey planResultKey,
BuildState buildState,
LifeCycleState lifeCycleState,
@Nullable BuildContext buildContext) |
ChainCompletedEvent(Object source,
@NotNull ChainExecution chainExecution,
@NotNull BuildContext buildContext) |
ChainStartedEvent(Object source,
PlanResultKey planResultKey,
BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
PlanStatePersister.saveFinishedBuildResult(@NotNull BuildContext buildContext)
Saves results of build represented by a BuildContext into DB in single transaction.
|
@NotNull BuildContext |
PlanStatePersisterServiceImpl.saveFinishedBuildResult(@NotNull BuildContext buildContext) |
@NotNull BuildContext |
PlanStatePersisterImpl.saveFinishedBuildResult(@NotNull BuildContext buildContext) |
@NotNull BuildContext |
PlanStatePersisterService.saveFinishedBuildResult(@NotNull BuildContext buildContext)
Saves results of a finished build represented by a BuildContext
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
PlanStatePersister.saveFinishedBuildResult(@NotNull BuildContext buildContext)
Saves results of build represented by a BuildContext into DB in single transaction.
|
@NotNull BuildContext |
PlanStatePersisterServiceImpl.saveFinishedBuildResult(@NotNull BuildContext buildContext) |
@NotNull BuildContext |
PlanStatePersisterImpl.saveFinishedBuildResult(@NotNull BuildContext buildContext) |
@NotNull BuildContext |
PlanStatePersisterService.saveFinishedBuildResult(@NotNull BuildContext buildContext)
Saves results of a finished build represented by a BuildContext
|
Modifier and Type | Method and Description |
---|---|
@NotNull List<ArtifactDefinitionContext> |
ArtifactSubscriptionManagerImpl.prepareArtifactDefinitionContexts(@NotNull ImmutableJob job,
@NotNull BuildContext buildContext,
SecureToken secureToken) |
@NotNull List<ArtifactDefinitionContext> |
ArtifactSubscriptionManager.prepareArtifactDefinitionContexts(@NotNull ImmutableJob job,
@NotNull BuildContext buildContext,
SecureToken secureToken)
Helps prepare the artifact definitions
|
@NotNull List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManagerImpl.prepareSubscriptionContexts(@NotNull ImmutableJob job,
@NotNull BuildContext parentBuildContext,
SecureToken secureToken) |
@NotNull List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManager.prepareSubscriptionContexts(@NotNull ImmutableJob job,
@NotNull BuildContext parentBuildContext,
SecureToken secureToken) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
@NotNull TriggerReason |
TriggerManagerImpl.getTriggerReason(@NotNull BuildContext buildContext) |
@NotNull TriggerReason |
TriggerManager.getTriggerReason(@NotNull BuildContext buildContext)
Creates a new instance of the
CommonContext.getTriggerReason() |
Modifier and Type | Method and Description |
---|---|
void |
PlanVcsRevisionHistoryServiceImpl.markBuildStarted(@NotNull BuildContext buildContext) |
void |
PlanVcsRevisionHistoryService.markBuildStarted(@NotNull BuildContext buildContext)
Saves the information on started build in the plan's vcs revision history.
|
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) |
Modifier and Type | Method and Description |
---|---|
static Iterable<TaskDefinition> |
BambooPluginUtils.filterEnabledTasks(BuildContext buildContext,
String pluginKey) |
static Iterable<TaskDefinition> |
BambooPluginUtils.filterTasks(BuildContext buildContext,
String pluginKey) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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 |
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) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
BuildLabeller.call()
This action will run after a build has completed.
|
@NotNull BuildContext |
BuildLabellerCustomBuildProcessor.call() |
@NotNull BuildContext |
BuildLogLabellerPreBuildAction.call() |
Modifier and Type | Method and Description |
---|---|
void |
BuildLabeller.init(@NotNull BuildContext buildContext) |
void |
BuildLogLabellerPreBuildAction.init(@NotNull BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
MavenDependenciesServerPostProcessor.call() |
Modifier and Type | Method and Description |
---|---|
void |
MavenDependenciesServerPostProcessor.init(@NotNull BuildContext buildContext) |
Constructor and 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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 repository
|
boolean |
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 the
Repository to perform custom actions when an initial build is triggered. |
@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 String |
NullRepository.retrieveSourceCode(@NotNull BuildContext buildContext,
@Nullable String vcsRevisionKey,
@NotNull File sourceDirectory) |
Modifier and Type | Method and 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
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
BuildResults |
BuildResults.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild)
Deprecated.
|
BuildResults |
BuildResultsImpl.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.createResultsSummary(@NotNull BuildContext buildContext,
@NotNull Class<T> aClass) |
<T extends ResultsSummary> |
ResultsSummaryManager.createResultsSummary(@NotNull BuildContext buildContext,
@NotNull Class<T> aClass)
Creates a
ResultsSummary of the given Class |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.createResultsSummary(@Nullable ChainResultsSummary chainResultsSummary,
@NotNull BuildContext buildContext,
@NotNull Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryManager.createResultsSummary(@Nullable ChainResultsSummary chainResultsSummary,
@NotNull BuildContext buildContext,
@NotNull Class<T> aClass)
Deprecated.
|
@NotNull BuildResultsSummary |
BuildResultsSummaryManagerImpl.updateBuildSummaryFromBuildResults(BuildContext buildContext,
@NotNull CurrentlyBuilding currentlyBuilding,
BuildResults buildResults) |
@NotNull BuildResultsSummary |
BuildResultsSummaryManager.updateBuildSummaryFromBuildResults(BuildContext buildContext,
@NotNull CurrentlyBuilding currentlyBuilding,
BuildResults buildResults)
Deprecated.
Updates BuildResultsSummary after build is completed.
|
void |
BuildResultsSummaryManagerImpl.updateResultSummaryWithBuildChanges(@NotNull BuildContext buildContext) |
void |
ResultsSummaryManager.updateResultSummaryWithBuildChanges(@NotNull BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
void |
TestsManagerImpl.copyTestResultsToBuildResultsSummary(@NotNull BuildResultsSummary summary,
@NotNull BuildResults buildResults,
@NotNull BuildContext buildContext) |
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.
|
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
TaskContextImpl.getBuildContext() |
@Nullable BuildContext |
TaskExecutionContext.getBuildContext() |
@NotNull BuildContext |
TaskContext.getBuildContext()
Contains all the build related information about the running of the tasks
|
Modifier and Type | Class and Description |
---|---|
class |
BuildContextImpl |
Modifier and Type | Field and Description |
---|---|
protected BuildContext |
BaseConfigurableBuildPlugin.buildContext |
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildContextImpl.getParentBuildContext() |
@Nullable BuildContext |
BuildContext.getParentBuildContext() |
static @NotNull BuildContext |
BuildContextHelper.getTopLevelBuildContext(@NotNull BuildContext initialBuildContext) |
Modifier and Type | Method and Description |
---|---|
BuildResults |
CurrentBuildResultImpl.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild) |
BuildResults |
CurrentBuildResult.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild) |
static File |
BuildContextHelper.getBuildWorkingDirectory(BuildContext buildContext)
Deprecated.
Since 5.0 use
BuildContextHelper.getBuildWorkingDirectory(CommonContext) instead |
static @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) |
Constructor and Description |
---|
BuildContextImpl(BuildIdentifier identifier,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
@Nullable BuildChanges buildChanges,
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.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalBuildResultProcessor.processBuildResult(@NotNull BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
BuildContextEvent.getBuildContext()
Deprecated.
since 5.0 use
BuildContextEvent.getContext() |
@NotNull BuildContext |
BuildContextEvent.getContext() |
Constructor and 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) |
Modifier and Type | Method and 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).
|
Modifier and Type | Method and 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).
|
Modifier and Type | Method and 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 |
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 | Field and Description |
---|---|
protected BuildContext |
AbstractBuildTask.buildContext |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
BuildTask.call()
Execute the build task.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBuildTask.init(@NotNull BuildContext buildContext) |
void |
BuildTask.init(@NotNull BuildContext buildContext) |
void |
CapabililitiesAwareBuildTask.init(BuildContext buildContext,
@NotNull ReadOnlyCapabilitySet capabilitySet) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
AbstractBuildContextTimingPoint.getBuildContext() |
@NotNull BuildContext |
BuildContextTimingPoint.getBuildContext() |
Modifier and Type | Method and Description |
---|---|
static BuildTimingPoints.Queued |
BuildTimingPoints.queued(@NotNull BuildContext buildContext,
@NotNull Date date) |
Constructor and Description |
---|
AbstractBuildContextTimingPoint(@NotNull BuildContext buildContext,
@NotNull Date date) |
Queued(@NotNull BuildContext buildContext,
@NotNull Date date) |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected BuildContext |
AbstractDependentDetectionAction.completedBuildContext |
Modifier and Type | Method and Description |
---|---|
protected @Nullable BuildContext |
AbstractDependentDetectionAction.prepareBuildContext(@NotNull ErrorCollection errorCollection) |
Constructor and 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) |
Modifier and Type | Class and Description |
---|---|
class |
DeploymentRepositoryBuildContext |
Modifier and Type | Method and Description |
---|---|
@Nullable BuildContext |
DeploymentRepositoryBuildContext.getParentBuildContext() |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
VCSVersionReader.call() |
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.