Class BlockingJobsMonitor

java.lang.Object
hudson.plugins.buildblocker.BlockingJobsMonitor

public class BlockingJobsMonitor extends Object
This class represents a monitor that checks all running jobs if one of their names matches with one of the given blocking job's regular expressions.

The first hit returns the blocking job's name.

  • Constructor Details

    • BlockingJobsMonitor

      public BlockingJobsMonitor(String blockingJobs)
      Constructor using the job configuration entry for blocking jobs
      Parameters:
      blockingJobs - line feed separated list og blocking jobs
  • Method Details

    • checkForBuildableQueueEntries

      public Job checkForBuildableQueueEntries(Queue.Item item)
    • checkForQueueEntries

      public Job checkForQueueEntries(Queue.Item item)
    • checkNodeForBuildableQueueEntries

      public Job checkNodeForBuildableQueueEntries(Queue.Item item, Node node)
    • checkNodeForQueueEntries

      public Job checkNodeForQueueEntries(Queue.Item item, Node node)
    • checkAllNodesForRunningBuilds

      public Job checkAllNodesForRunningBuilds()
    • checkNodeForRunningBuilds

      public Job checkNodeForRunningBuilds(Node node)