| Modifier and Type | Method and Description |
|---|---|
void |
AuthorCreatorService.createMissingAuthors(BuildContext buildContext)
Creates records for Authors
|
| Modifier and Type | Method and Description |
|---|---|
BuildContext |
BuildRequestResult.getBuildContext() |
BuildContext |
BuildDetectionResultImpl.getBuildContext()
The
BuildContext produced by a successful execution of a BuildDetectionAction |
BuildContext |
BuildDetectionResult.getBuildContext()
The
BuildContext produced by a successful execution of a BuildDetectionAction |
| Modifier and Type | Method and Description |
|---|---|
BuildDetectionAction |
BuildDetectionActionFactory.createDependentBuildDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext)
Creates a new instance of
BuildDetectionAction that is used to trigger dependent builds |
void |
BuildExecutionManager.execute(BuildContext buildContext)
Executes the given
BuildContext
At this point a BuildResultsSummary exists that matches the given BuildContext |
void |
BuildExecutionManager.finishBuildWithCleanState(PlanResultKey planResultKey,
BuildContext buildContext)
Calls removeCurrentlyBuilding & finishProcess.
|
BuildChanges |
UnconditionalBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
void |
BuildExecutionManager.setCurrentlyBuilding(BuildContext buildContext,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages)
Denotes that the passed build context is beginning the build process.
|
| Constructor and Description |
|---|
BuildDetectionResultImpl(ErrorCollection errorCollection,
BuildContext buildContext) |
| Modifier and Type | Method and Description |
|---|---|
BuildContext |
BuildContextBuilder.build() |
| Modifier and Type | Method and Description |
|---|---|
BuildContextBuilder |
BuildContextBuilder.copyOf(BuildContext other) |
BuildContextBuilder |
BuildContextBuilder.parentBuildContext(BuildContext parentContext) |
| Modifier and Type | Method and Description |
|---|---|
BuildContext |
BuildExecution.getBuildContext()
The
BuildContext of build process represented by this object. |
BuildContext |
ChainState.getBuildContext()
The
BuildContext of the currently executing chain |
BuildContext |
ChainStateResult.getBuildContext(PlanResultKey planResultKey)
Lookup a
BuildContext of a Job by its PlanResultKey |
| Modifier and Type | Method and Description |
|---|---|
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext)
|
Collection<BuildContext> |
BuildContextFactory.createBuildContextsForRestartedOrRerunBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
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 "re-run this build" action or with "continue manual stage" action, or "re-run failed jobs" action, etc |
| Modifier and Type | Method and Description |
|---|---|
void |
ChainPluginSupport.buildStarted(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
PreJobActions for BuildContext |
void |
ChainPluginSupport.chainCompleted(ChainExecution chainExecution,
BuildContext buildContext)
Executes the enabled
PostChainActions for ChainExecution |
void |
ChainPluginSupport.chainStarted(ChainExecution chainExecution,
BuildContext buildContext)
Executes the enabled
PreChainActions for ChainExecution |
ChainStateResult |
ChainResultManager.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stageToExecute)
|
ChainState |
ChainStateFactory.create(PlanIdentifier chain,
BuildContext buildContext,
ChainStateResult chainResultState)
Creates a
ChainState |
ChainState |
ChainStateFactory.create(PlanIdentifier chain,
PlanExecutionConfig planExecutionConfig,
BuildContext chainBuildContext,
ChainStateResult chainResultState)
Creates a {link ChainState} for extended execution config defined as
PlanExecutionConfig - continuable and restartable builds |
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext)
|
Collection<BuildContext> |
BuildContextFactory.createBuildContextsForRestartedOrRerunBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
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 "re-run this build" action or with "continue manual stage" action, or "re-run failed jobs" action, etc |
void |
ChainPluginSupport.failedStageRestarted(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
RestartFailedStageActions for StageExecution |
void |
ChainPluginSupport.manualStageResumed(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
ResumeManualStageActions for StageExecution |
void |
JobExecutionManager.requestExecution(BuildContext buildContext)
Executes
BuildContext object |
void |
ChainPluginSupport.stageCompleted(StageExecution stageExecution,
long stageResultId,
BuildContext buildContext)
Executes the enabled
PostStageActions for StageExecution |
void |
ChainPluginSupport.stageStarted(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
PreStageActions for StageExecution |
void |
ChainPluginSupport.stoppedOnManualStage(StageExecution stageExecution,
long stageResultId,
BuildContext buildContext)
Executes the enabled
StopOnManualStageActions for StageExecution |
void |
BuildContextFactory.updateBuildContextWithChanges(BuildContext contextToUpdate,
BuildChanges newBuildChanges)
Updates the build context with build changes
|
ChainStateResult |
ChainResultManager.updateForContinuedBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and stopped on manual stage of failed |
ChainStateResult |
ChainResultManager.updateForRerunBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and being rerun. |
| Modifier and Type | Method and Description |
|---|---|
ChainStateResult |
ChainResultManager.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stageToExecute)
|
ChainStateResult |
ChainResultManager.updateForContinuedBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and stopped on manual stage of failed |
ChainStateResult |
ChainResultManager.updateForRerunBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig)
Creates a
ChainState for build already executed and being rerun. |
| Modifier and Type | Method and Description |
|---|---|
void |
PreJobAction.execute(StageExecution stageExecution,
BuildContext buildContext)
Executes the custom action
|
| Modifier and Type | Method and Description |
|---|---|
BranchMergingAwareRepository |
BranchIntegrationHelper.getIntegrationRepository(BuildContext buildContext)
Get integration repository narrowed to
BranchMergingAwareRepository |
MergeResult |
BranchIntegrationHelper.merge(BuildContext buildContext,
File mergeDirectory,
BuildLogger logger)
Perform branch merging according to Integration Configuration
|
| Modifier and Type | Method and Description |
|---|---|
TriggerReason |
TriggerManager.getTriggerReason(BuildContext buildContext)
Creates a new instance of the
CommonContext.getTriggerReason() |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanVcsRevisionHistoryService.markBuildStarted(BuildContext buildContext)
Saves the information on started build in the plan's vcs revision history.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BranchingAwareRepository.createBranch(long repositoryId,
String branchName,
BuildContext buildContext)
Creates branch in the repository.
|
void |
TaggingAwareRepository.createTag(long repositoryId,
String tagName,
BuildContext buildContext)
Creates a tag in the repository
|
boolean |
BranchMergingAwareRepository.mergeWorkspaceWith(BuildContext buildContext,
File checkoutDirectory,
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. |
String |
CheckoutCustomRevisionDataAwareRepository.retrieveSourceCode(BuildContext buildContext,
PlanVcsRevisionData planVcsRevisionData,
File sourceDirectory,
int depth) |
String |
BranchMergingAwareRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth)
Checks out the latest source code from an appropriate repository to specified directory
|
| Modifier and Type | Method and Description |
|---|---|
BuildResults |
BuildResultsImpl.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild)
Deprecated.
|
BuildResults |
BuildResults.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild)
Deprecated.
|
static ReasonForBuild |
BuildResultsImpl.getReasonForBuild(BuildContext buildContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ResultsSummary> |
ResultsSummaryManager.createResultsSummary(BuildContext buildContext,
Class<T> aClass)
Creates a
ResultsSummary of the given Class |
<T extends ResultsSummary> |
BuildResultsSummaryManager.createResultsSummary(ChainResultsSummary chainResultsSummary,
BuildContext buildContext,
Class<T> aClass)
Deprecated.
|
void |
ResultsSummaryManager.logSubstitutedVariables(BuildContext buildContext,
ResultsSummary resultsSummary)
Adds variable substitution result to
ResultsSummary
This method logs substitution after it was performed and will use only REALLY substituted values |
void |
ResultsSummaryManager.logVariablesForSubstitution(BuildContext buildContext,
ResultsSummary resultsSummary)
Adds expected variable substitution to
ResultsSummary
This method logs substitution before build was performed and is used basically to log substitution against plan result
as there will be no possibility to track it afterwards |
BuildResultsSummary |
BuildResultsSummaryManager.updateBuildSummaryFromBuildResults(BuildContext buildContext,
CurrentlyBuilding currentlyBuilding,
BuildResults buildResults)
Deprecated.
Updates BuildResultsSummary after build is completed.
|
void |
ResultsSummaryManager.updateLifeCycleState(BuildContext buildContext,
LifeCycleState lifeCycleState,
BuildState buildState)
Update LifeCycleState and saves the
ResultsSummary for given BuildContext
Updates also timing information |
void |
ResultsSummaryManager.updateResultSummaryWithBuildChanges(BuildContext buildContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
TestsManager.copyTestResultsToBuildResultsSummary(BuildResultsSummary summary,
BuildResults buildResults,
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 |
|---|---|
BuildContext |
TaskContext.getBuildContext()
Contains all the build related information about the running of the tasks
|
| Modifier and Type | Method and Description |
|---|---|
BuildContext |
BuildContext.getParentBuildContext() |
| Modifier and Type | Method and Description |
|---|---|
BuildResults |
CurrentBuildResult.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild) |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryEventAware.postRetrieveSourceCode(BuildContext buildContext)
Deprecated.
|
void |
RepositoryEventAware.postRetrieveSourceCode(BuildContext buildContext,
File sourceDirectory)
postRetrieveSourceCode will run after the retrieveSourceCode method is called.
|
void |
RepositoryEventAware.preRetrieveSourceCode(BuildContext buildContext)
Deprecated.
|
void |
RepositoryEventAware.preRetrieveSourceCode(BuildContext buildContext,
File sourceDirectory)
preRetrieveSourceCode will run before the retrieveSourceCode method is called.
|
String |
LegacyRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey)
Deprecated.
|
String |
CustomSourceDirectoryAwareRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory)
Checks out the latest source code from an appropriate repository to specified directory
|
| Modifier and Type | Method and Description |
|---|---|
BuildContext |
BuildTask.call()
Execute the build task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BuildTask.init(BuildContext buildContext) |
void |
CapabililitiesAwareBuildTask.init(BuildContext buildContext,
ReadOnlyCapabilitySet capabilitySet) |
| Modifier and Type | Method and Description |
|---|---|
BuildContext |
BuildContextTimingPoint.getBuildContext() |
BuildContext |
AbstractBuildContextTimingPoint.getBuildContext() |
| Modifier and Type | Method and Description |
|---|---|
static BuildTimingPoints.ExecutionStarted |
BuildTimingPoints.executionStarted(BuildContext buildContext,
Date date) |
static BuildTimingPoints.Queued |
BuildTimingPoints.queued(BuildContext buildContext,
Date date) |
static BuildTimingPoints.VcsSyncStarted |
BuildTimingPoints.vcsSyncStarted(BuildContext buildContext,
Date date) |
| Constructor and Description |
|---|
AbstractBuildContextTimingPoint(BuildContext buildContext,
Date date) |
BuildTimingPoints.ExecutionStarted(BuildContext buildContext,
Date date) |
BuildTimingPoints.Queued(BuildContext buildContext,
Date date) |
BuildTimingPoints.VcsSyncStarted(BuildContext buildContext,
Date date) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
TriggerReason |
AbstractTriggerReason.getChildTriggerReason(BuildContext child,
ImmutablePlan plan) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.