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 |
---|---|
BuildContext |
BuildRequestResultImpl.getBuildContext() |
BuildContext |
BuildDetectionResult.getBuildContext()
The
BuildContext produced by a successful execution of a BuildDetectionAction |
BuildContext |
BuildDetectionResultImpl.getBuildContext()
The
BuildContext produced by a successful execution of a BuildDetectionAction |
BuildContext |
BuildRequestResult.getBuildContext() |
Modifier and Type | Method and Description |
---|---|
BuildDetectionAction |
BuildDetectionActionFactoryImpl.createDependentBuildDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext) |
BuildDetectionAction |
BuildDetectionActionFactory.createDependentBuildDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext)
Creates a new instance of
BuildDetectionAction that is used to trigger dependent builds |
void |
DefaultBuildExecutionManager.execute(BuildContext buildContext) |
void |
BuildExecutionManager.execute(BuildContext buildContext)
Executes the given
BuildContext
At this point a BuildResultsSummary exists that matches the given BuildContext |
void |
DefaultBuildExecutionManager.finishBuildWithCleanState(PlanResultKey planResultKey,
BuildContext buildContext) |
void |
BuildExecutionManager.finishBuildWithCleanState(PlanResultKey planResultKey,
BuildContext buildContext)
Calls removeCurrentlyBuilding and finishProcess.
|
BuildChanges |
UnconditionalBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
void |
DefaultBuildExecutionManager.setCurrentlyBuilding(BuildContext buildContext,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages)
Denotes that the passed build context is beginning the build process.
|
void |
BuildExecutionManager.setCurrentlyBuilding(BuildContext buildContext,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages)
Denotes that the passed build context is beginning the build process.
|
CurrentlyBuilding |
CurrentlyBuildingContainer.setCurrentlyBuilding(BuildContext buildContext,
CurrentlyBuilding currentlyBuilding,
Collection<BuildAgent> executableAgents,
Collection<ElasticImageConfiguration> executableImages) |
Constructor and Description |
---|
BuildDetectionResultImpl(ErrorCollection errorCollection,
BuildContext buildContext) |
BuildRequestResultImpl(BuildContext buildContext,
ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildArtifactPostProcessor.call()
Copy all of the build's artifacts for this build across to the builds artifact directory
|
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildContextBuilderImpl.build() |
BuildContext |
BuildContextBuilder.build() |
Modifier and Type | Method and Description |
---|---|
BuildContextBuilder |
BuildContextBuilderImpl.copyOf(BuildContext other) |
BuildContextBuilder |
BuildContextBuilder.copyOf(BuildContext other) |
BuildContextBuilder |
BuildContextBuilderImpl.parentBuildContext(BuildContext parentContext) |
BuildContextBuilder |
BuildContextBuilder.parentBuildContext(BuildContext parentContext) |
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildMonitoringPerPlanPlugin.call() |
Modifier and Type | Method and Description |
---|---|
void |
BuildMonitoringPerPlanPlugin.init(BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
BuildContext |
ChainState.getBuildContext()
The
BuildContext of the currently executing chain |
BuildContext |
BuildExecution.getBuildContext()
The
BuildContext of build process represented by this object. |
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>> |
BuildContextFactoryImpl.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext) |
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext)
|
Collection<BuildContext> |
BuildContextFactoryImpl.createBuildContextsForRestartedOrRerunBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig) |
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
PreJobAction s for BuildContext |
void |
ChainPluginSupport.chainCompleted(ChainExecution chainExecution,
BuildContext buildContext)
Executes the enabled
PostChainAction s for ChainExecution |
void |
ChainPluginSupport.chainStarted(ChainExecution chainExecution,
BuildContext buildContext)
Executes the enabled
PreChainAction s for ChainExecution |
ChainStateResult |
ChainResultManagerImpl.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stagesToExecute) |
ChainStateResult |
ChainResultManager.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stageToExecute)
|
ChainState |
ChainStateFactoryImpl.create(PlanIdentifier chain,
BuildContext chainBuildContext,
ChainStateResult chainResultState) |
ChainState |
ChainStateFactory.create(PlanIdentifier chain,
BuildContext buildContext,
ChainStateResult chainResultState)
Creates a
ChainState |
ChainState |
ChainStateFactoryImpl.create(PlanIdentifier chain,
PlanExecutionConfig planExecutionConfig,
BuildContext chainBuildContext,
ChainStateResult chainResultState) |
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>> |
BuildContextFactoryImpl.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext) |
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> |
BuildContextFactory.createBuildContextsForJobs(ImmutableChain chain,
BuildContext parentBuildContext)
|
Collection<BuildContext> |
BuildContextFactoryImpl.createBuildContextsForRestartedOrRerunBuild(ImmutableChain chain,
ChainResultsSummary chainResultsSummary,
BuildContext parentBuildContext,
PlanExecutionConfig planExecutionConfig) |
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
RestartFailedStageAction s for StageExecution |
void |
ChainPluginSupport.manualStageResumed(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
ResumeManualStageAction s for StageExecution |
void |
JobExecutionManagerImpl.requestExecution(BuildContext buildContext) |
void |
JobExecutionManager.requestExecution(BuildContext buildContext)
Executes
BuildContext object |
void |
ChainPluginSupport.stageCompleted(StageExecution stageExecution,
long stageResultId,
BuildContext buildContext)
Executes the enabled
PostStageAction s for StageExecution |
void |
ChainPluginSupport.stageStarted(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
PreStageAction s for StageExecution |
void |
ChainPluginSupport.stoppedOnManualStage(StageExecution stageExecution,
long stageResultId,
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
|
ChainStateResult |
ChainResultManagerImpl.updateForContinuedBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig) |
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 |
ChainResultManagerImpl.updateForRerunBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig) |
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 |
ChainResultManagerImpl.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stagesToExecute) |
ChainStateResult |
ChainResultManager.create(BuildContext chainBuildContext,
Map<ImmutableChainStage,Map<ImmutableJob,BuildContext>> jobBuildContexts,
Collection<? extends ImmutableChainStage> stageToExecute)
|
ChainStateResult |
ChainResultManagerImpl.updateForContinuedBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig) |
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 |
ChainResultManagerImpl.updateForRerunBuild(BuildContext chainBuildContext,
Collection<BuildContext> jobBuildContexts,
PlanExecutionConfig planExecutionConfig) |
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 |
---|---|
BuildContext |
CloverBuildProcessor.call() |
BuildContext |
CloverDeltaCalculator.call() |
protected BuildContext |
CloverDeltaCalculator.callInTransaction() |
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildFinishedEvent.getBuildContext()
Build context is only available if build finished 'cleanly' (i.e.
|
BuildContext |
ChainStartedEvent.getBuildContext() |
BuildContext |
ChainCompletedEvent.getBuildContext() |
Constructor and Description |
---|
BuildFinishedEvent(Object source,
PlanResultKey planResultKey,
BuildState buildState,
LifeCycleState lifeCycleState,
BuildContext buildContext) |
ChainCompletedEvent(Object source,
ChainExecution chainExecution,
BuildContext buildContext) |
ChainStartedEvent(Object source,
PlanResultKey planResultKey,
BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
BuildContext |
PlanStatePersisterImpl.saveFinishedBuildResult(BuildContext buildContext) |
BuildContext |
PlanStatePersister.saveFinishedBuildResult(BuildContext buildContext)
Saves results of build represented by a BuildContext into DB in single transaction.
|
BuildContext |
PlanStatePersisterServiceImpl.saveFinishedBuildResult(BuildContext buildContext) |
BuildContext |
PlanStatePersisterService.saveFinishedBuildResult(BuildContext buildContext)
Saves results of a finished build represented by a BuildContext
|
Modifier and Type | Method and Description |
---|---|
BuildContext |
PlanStatePersisterImpl.saveFinishedBuildResult(BuildContext buildContext) |
BuildContext |
PlanStatePersister.saveFinishedBuildResult(BuildContext buildContext)
Saves results of build represented by a BuildContext into DB in single transaction.
|
BuildContext |
PlanStatePersisterServiceImpl.saveFinishedBuildResult(BuildContext buildContext) |
BuildContext |
PlanStatePersisterService.saveFinishedBuildResult(BuildContext buildContext)
Saves results of a finished build represented by a BuildContext
|
Modifier and Type | Method and Description |
---|---|
List<ArtifactDefinitionContext> |
ArtifactSubscriptionManagerImpl.prepareArtifactDefinitionContexts(ImmutableJob job,
BuildContext buildContext) |
List<ArtifactDefinitionContext> |
ArtifactSubscriptionManager.prepareArtifactDefinitionContexts(ImmutableJob job,
BuildContext buildContext)
Helps prepare the artifact definitions
|
List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManagerImpl.prepareSubscriptionContexts(ImmutableJob job,
BuildContext parentBuildContext) |
List<ArtifactSubscriptionContext> |
ArtifactSubscriptionManager.prepareSubscriptionContexts(ImmutableJob job,
BuildContext parentBuildContext) |
Modifier and Type | Method and Description |
---|---|
protected BranchMergingAwareRepository |
BranchIntegrationHelperImpl.getDefaultRepository(BuildContext buildContext)
Get default repository narrowed to
BranchMergingAwareRepository |
BranchMergingAwareRepository |
BranchIntegrationHelperImpl.getIntegrationRepository(BuildContext buildContext)
Get integration repository narrowed to
BranchMergingAwareRepository |
BranchMergingAwareRepository |
BranchIntegrationHelper.getIntegrationRepository(BuildContext buildContext)
Get integration repository narrowed to
BranchMergingAwareRepository |
MergeResult |
BranchIntegrationHelperImpl.merge(BuildContext buildContext,
File mergeDirectory,
BuildLogger logger) |
MergeResult |
BranchIntegrationHelper.merge(BuildContext buildContext,
File mergeDirectory,
BuildLogger logger)
Perform branch merging according to Integration Configuration
|
Modifier and Type | Method and Description |
---|---|
TriggerReason |
TriggerManagerImpl.getTriggerReason(BuildContext buildContext) |
TriggerReason |
TriggerManager.getTriggerReason(BuildContext buildContext)
Creates a new instance of the
CommonContext.getTriggerReason() |
Modifier and Type | Method and Description |
---|---|
void |
PlanVcsRevisionHistoryServiceImpl.markBuildStarted(BuildContext buildContext) |
void |
PlanVcsRevisionHistoryService.markBuildStarted(BuildContext buildContext)
Saves the information on started build in the plan's vcs revision history.
|
void |
PlanVcsRevisionHistoryManager.markBuildStartedNewTx(BuildContext buildContext)
Saves the information on started build in the plan's vcs revision history.
|
void |
PlanVcsRevisionHistoryManagerImpl.markBuildStartedNewTx(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(BuildContext buildContext,
File checkoutDirectory,
String targetRevision) |
String |
BitbucketRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
BitbucketRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth) |
Modifier and Type | Method and Description |
---|---|
boolean |
GitHubRepository.mergeWorkspaceWith(BuildContext buildContext,
File file,
String s) |
boolean |
GitRepository.mergeWorkspaceWith(BuildContext buildContext,
File workspaceDir,
String targetRevision) |
String |
GitRepository.retrieveSourceCode(BuildContext buildContext,
PlanVcsRevisionData planVcsRevisionData,
File sourceDirectory,
int depth) |
String |
GitHubRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevision) |
String |
GitHubRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
GitRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
GitHubRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth) |
String |
GitRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth) |
Modifier and Type | Method and Description |
---|---|
boolean |
HgRepository.mergeWorkspaceWith(BuildContext buildContext,
File workspace,
String targetRevision) |
String |
HgRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
HgRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth)
So far mercurial cannot retrieve a "shallow" clone of repository so we're ignoring depth argument
|
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildLabeller.call()
This action will run after a build has completed.
|
Modifier and Type | Method and Description |
---|---|
void |
BuildLabeller.init(BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
BuildContext |
MavenDependenciesServerPostProcessor.call() |
Modifier and Type | Method and Description |
---|---|
void |
MavenDependenciesServerPostProcessor.init(BuildContext buildContext) |
Constructor and Description |
---|
RestQueuedBuild(BuildContext buildContext,
List<? extends RepositoryChangeset> changesets,
javax.ws.rs.core.UriInfo uriInfo) |
RestQueuedBuild(BuildContext buildContext,
javax.ws.rs.core.UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
StashRepository.mergeWorkspaceWith(BuildContext buildContext,
File checkoutDirectory,
String targetRevision) |
String |
StashRepository.retrieveSourceCode(BuildContext buildContext,
PlanVcsRevisionData planVcsRevisionData,
File sourceDirectory,
int depth) |
String |
StashRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
String |
StashRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory,
int depth) |
Modifier and Type | Class and Description |
---|---|
class |
DeploymentRepositoryBuildContext |
Modifier and Type | Method and Description |
---|---|
BuildContext |
DeploymentRepositoryBuildContext.getParentBuildContext() |
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 |
---|---|
void |
CvsRepositoryManager.checkout(String vcsRevisionKey,
File sourceDirectory,
BuildLogger buildLogger,
CVSRepository cvsRepository,
boolean recursive,
BuildContext buildContext) |
void |
CvsRepositoryManager.checkout(String vcsRevisionKey,
File sourceDirectory,
BuildLogger buildLogger,
CVSRepository cvsRepository,
BuildContext buildContext) |
String |
CVSRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey)
Deprecated.
since 3.3
|
void |
CvsRepositoryManager.updateCvs(String vcsRevisionKey,
File sourceDirectory,
BuildLogger buildLogger,
CVSRepository cvsRepository,
BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
String |
NullRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
Modifier and Type | Method and Description |
---|---|
String |
PerforceRepository.retrieveSourceCode(BuildContext buildContext,
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,
String branchName,
BuildContext buildContext) |
void |
SvnRepository.createTag(long repositoryId,
String tagName,
BuildContext buildContext) |
String |
SvnRepository.getHost(BuildContext buildContext) |
void |
SvnRepository.onInitialBuild(BuildContext buildContext) |
void |
SvnRepository.postRetrieveSourceCode(BuildContext buildContext,
File sourceDirectory) |
void |
SvnRepository.preRetrieveSourceCode(BuildContext buildContext,
File sourceDirectory)
Checks if the SVN URL has changed
|
String |
SvnRepository.retrieveSourceCode(BuildContext buildContext,
String vcsRevisionKey,
File sourceDirectory) |
Modifier and Type | Method and Description |
---|---|
BuildResults |
BuildResults.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild)
Deprecated.
|
BuildResults |
BuildResultsImpl.cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild)
Deprecated.
|
static ReasonForBuild |
BuildResultsImpl.getReasonForBuild(BuildContext buildContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.createResultsSummary(BuildContext buildContext,
Class<T> aClass) |
<T extends ResultsSummary> |
ResultsSummaryManager.createResultsSummary(BuildContext buildContext,
Class<T> aClass)
Creates a
ResultsSummary of the given Class |
<T extends ResultsSummary> |
BuildResultsSummaryManagerImpl.createResultsSummary(ChainResultsSummary chainResultsSummary,
BuildContext buildContext,
Class<T> aClass) |
<T extends ResultsSummary> |
BuildResultsSummaryManager.createResultsSummary(ChainResultsSummary chainResultsSummary,
BuildContext buildContext,
Class<T> aClass)
Deprecated.
|
void |
BuildResultsSummaryManagerImpl.logSubstitutedVariables(BuildContext buildContext,
ResultsSummary resultsSummary) |
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 |
BuildResultsSummaryManagerImpl.logVariablesForSubstitution(BuildContext buildContext,
ResultsSummary resultsSummary) |
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 |
BuildResultsSummaryManagerImpl.updateBuildSummaryFromBuildResults(BuildContext buildContext,
CurrentlyBuilding currentlyBuilding,
BuildResults buildResults) |
BuildResultsSummary |
BuildResultsSummaryManager.updateBuildSummaryFromBuildResults(BuildContext buildContext,
CurrentlyBuilding currentlyBuilding,
BuildResults buildResults)
Deprecated.
Updates BuildResultsSummary after build is completed.
|
void |
BuildResultsSummaryManagerImpl.updateResultSummaryWithBuildChanges(BuildContext buildContext) |
void |
ResultsSummaryManager.updateResultSummaryWithBuildChanges(BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
void |
TestsManagerImpl.copyTestResultsToBuildResultsSummary(BuildResultsSummary summary,
BuildResults buildResults,
BuildContext buildContext) |
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 |
TaskContextImpl.getBuildContext() |
BuildContext |
TaskExecutionContext.getBuildContext() |
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() |
BuildContext |
BuildContext.getParentBuildContext() |
static BuildContext |
BuildContextHelper.getTopLevelBuildContext(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 RepositoryDefinition |
BuildContextHelper.getDefaultRepositoryDefinition(BuildContext buildContext) |
static BuildContext |
BuildContextHelper.getTopLevelBuildContext(BuildContext initialBuildContext) |
void |
BaseConfigurableBuildPlugin.init(BuildContext buildContext) |
static void |
BuildContextHelper.rewire(BuildContext buildContext) |
Constructor and Description |
---|
BuildContextImpl(BuildIdentifier identifier,
TriggerReason triggerReason,
BuildDefinition buildDefinition,
BuildChanges buildChanges,
BuildContext parentBuildContext,
ArtifactContext artifactContext,
VariableContext variableContext,
Map<String,String> customBuildData,
Map<Long,RepositoryDefinition> repositoryDefinitionMap,
Set<Long> relevantRepositoryIds,
Map<Long,String> checkoutLocation,
boolean isBranch,
boolean isOnceOff,
boolean isCustomBuild,
BambooBandanaContext bandanaContext,
Iterable<CredentialsData> relevantSharedCredentials)
Using this constructor directly is not recommended.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalBuildResultProcessor.processBuildResult(BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildContextEvent.getBuildContext()
Deprecated.
since 5.0 use
BuildContextEvent.getContext() |
BuildContext |
BuildContextEvent.getContext() |
Constructor and Description |
---|
BuildContextEvent(Object source,
BuildContext buildContext) |
BuildQueuedEvent(Object source,
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(BuildContext buildContext,
File sourceDirectory)
postRetrieveSourceCode will run after the retrieveSourceCode method is called.
|
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 | Field and Description |
---|---|
protected BuildContext |
AbstractBuildTask.buildContext |
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildTask.call()
Execute the build task.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBuildTask.init(BuildContext buildContext) |
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.Queued |
BuildTimingPoints.queued(BuildContext buildContext,
Date date) |
Constructor and Description |
---|
AbstractBuildContextTimingPoint(BuildContext buildContext,
Date date) |
Queued(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) |
Modifier and Type | Field and Description |
---|---|
protected BuildContext |
AbstractDependentDetectionAction.completedBuildContext |
Modifier and Type | Method and Description |
---|---|
protected BuildContext |
AbstractDependentDetectionAction.prepareBuildContext(ErrorCollection errorCollection) |
Modifier and Type | Method and Description |
---|---|
BuildChanges |
ChildDependencyBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
AbstractDependentDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
ScheduledBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
ManualBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
BuildChanges |
ContinuedBuildDetectionAction.performDelayedChangeDetection(BuildContext buildContext) |
Constructor and Description |
---|
AbstractDependentDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext,
ErrorUpdateHandler errorUpdateHandler,
TriggerManager triggerManager,
ChangeDetectionManager changeDetectionManager,
BuildNumberGeneratorService buildNumberGeneratorService,
BuildLoggerManager buildLoggerManager,
PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
BuildContextBuilderFactory buildContextBuilderFactory) |
DependentBuildDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext,
ErrorUpdateHandler errorUpdateHandler,
TriggerManager triggerManager,
ChangeDetectionManager changeDetectionManager,
BuildNumberGeneratorService buildNumberGeneratorService,
BuildLoggerManager buildLoggerManager,
PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
BuildContextBuilderFactory buildContextBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
BuildContext |
VCSVersionReader.call() |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.