Package com.atlassian.bamboo.build
Interface CustomPreBuildAction
-
- All Superinterfaces:
AgentBuildTask,BambooPluginModule,BuildTask,Callable<BuildContext>
- All Known Implementing Classes:
BuildLogLabellerPreBuildAction,VCSVersionReader
public interface CustomPreBuildAction extends AgentBuildTask, BambooPluginModule
A custom pre build task that occurs on theExecutableBuildAgent. It occurs after the build has been updated to the specified time, but before the actual build execution. Any exceptions thrown or errors added to theBuildContextwill cause the build to fail.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ErrorCollectionvalidate(BuildConfiguration config)Validate the build configuration when trying to save configuration for thePlanThis is used if the CustomPreBuildAction needs to have configuration stored against the build plan.
-
-
-
Method Detail
-
validate
@Nullable @Nullable ErrorCollection validate(BuildConfiguration config)
Validate the build configuration when trying to save configuration for thePlanThis is used if the CustomPreBuildAction needs to have configuration stored against the build plan.- Parameters:
config-- Returns:
-
-