Class ForceBuildStopper

java.lang.Object
com.atlassian.bamboo.build.monitoring.ForceBuildStopper

public class ForceBuildStopper extends Object
Listens for BuildHungEvent and BuildCanceledEvent and kills child processes.
  • Constructor Details

    • ForceBuildStopper

      public ForceBuildStopper()
  • Method Details

    • onBuildCancelled

      @EventListener public void onBuildCancelled(BuildCanceledEvent event)
    • onBuildHung

      @EventListener public void onBuildHung(BuildHungEvent event)
    • getBuildDefinition

      @Nullable public @Nullable BuildDefinition getBuildDefinition(PlanEvent event)
      We are receiving this event from a job so we need to get a plan from it.