Class ForceBuildStopper


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

      • ForceBuildStopper

        public ForceBuildStopper()
    • Method Detail

      • 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.