@Internal
public interface ChainPluginSupport
ChainExecutionManager
BambooPluginModule
executionsModifier and Type | Method and Description |
---|---|
void |
buildCompleted(BuildExecution buildExecution)
Executes the enabled
PostJobAction s for BuildExecution |
void |
buildStarted(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
PreJobAction s for BuildContext |
void |
chainCompleted(ChainExecution chainExecution,
BuildContext buildContext)
Executes the enabled
PostChainAction s for ChainExecution |
void |
chainStarted(ChainExecution chainExecution,
BuildContext buildContext)
Executes the enabled
PreChainAction s for ChainExecution |
void |
failedStageRestarted(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
RestartFailedStageAction s for StageExecution |
void |
manualStageResumed(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
ResumeManualStageAction s for StageExecution |
boolean |
shouldStopExecution(ImmutableChain chain,
Map<String,String> triggerConditionsConfiguration)
Determine from plugins whether the chain should continue executing or not.
|
void |
stageCompleted(StageExecution stageExecution,
long stageResultId,
BuildContext buildContext)
Executes the enabled
PostStageAction s for StageExecution |
void |
stageStarted(StageExecution stageExecution,
BuildContext buildContext)
Executes the enabled
PreStageAction s for StageExecution |
void |
stoppedOnManualStage(StageExecution stageExecution,
long stageResultId,
BuildContext buildContext)
Executes the enabled
StopOnManualStageAction s for StageExecution |
void chainStarted(@NotNull ChainExecution chainExecution, @NotNull BuildContext buildContext)
PreChainAction
s for ChainExecution
chainExecution
- buildContext
- void chainCompleted(@NotNull ChainExecution chainExecution, @NotNull BuildContext buildContext)
PostChainAction
s for ChainExecution
chainExecution
- buildContext
- void stageStarted(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext)
PreStageAction
s for StageExecution
stageExecution
- buildContext
- void stageCompleted(@NotNull StageExecution stageExecution, long stageResultId, @NotNull BuildContext buildContext)
PostStageAction
s for StageExecution
stageExecution
- stageResultId
- buildContext
- void manualStageResumed(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext)
ResumeManualStageAction
s for StageExecution
stageExecution
- buildContext
- void failedStageRestarted(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext)
RestartFailedStageAction
s for StageExecution
stageExecution
- buildContext
- void stoppedOnManualStage(@NotNull StageExecution stageExecution, long stageResultId, @NotNull BuildContext buildContext)
StopOnManualStageAction
s for StageExecution
stageExecution
- stageResultId
- buildContext
- void buildStarted(@NotNull StageExecution stageExecution, @NotNull BuildContext buildContext)
PreJobAction
s for BuildContext
stageExecution
- buildContext
- void buildCompleted(@NotNull BuildExecution buildExecution)
PostJobAction
s for BuildExecution
buildExecution
- boolean shouldStopExecution(@NotNull ImmutableChain chain, @NotNull Map<String,String> triggerConditionsConfiguration)
chain
- triggerConditionsConfiguration
- Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.