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 the ExecutableBuildAgent. 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 the BuildContext will cause the build to fail.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable ErrorCollection
    Validate the build configuration when trying to save configuration for the Plan This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.

    Methods inherited from interface com.atlassian.bamboo.v2.build.task.BuildTask

    call, init
  • Method Details

    • validate

      @Nullable @Nullable ErrorCollection validate(BuildConfiguration config)
      Validate the build configuration when trying to save configuration for the Plan This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.
      Parameters:
      config -
      Returns: