Package hudson.plugins.buildblocker
Class BlockingJobsMonitor
java.lang.Object
hudson.plugins.buildblocker.BlockingJobsMonitor
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 Summary
ConstructorDescriptionBlockingJobsMonitor
(String blockingJobs) Constructor using the job configuration entry for blocking jobs -
Method Summary
Modifier and TypeMethodDescriptioncheckNodeForBuildableQueueEntries
(Queue.Item item, Node node) checkNodeForQueueEntries
(Queue.Item item, Node node)
-
Constructor Details
-
BlockingJobsMonitor
Constructor using the job configuration entry for blocking jobs- Parameters:
blockingJobs
- line feed separated list og blocking jobs
-
-
Method Details
-
checkForBuildableQueueEntries
-
checkForQueueEntries
-
checkNodeForBuildableQueueEntries
-
checkNodeForQueueEntries
-
checkAllNodesForRunningBuilds
-
checkNodeForRunningBuilds
-