Package jenkins.model

Class BlockedBecauseOfBuildInProgress

java.lang.Object
hudson.model.queue.CauseOfBlockage
jenkins.model.BlockedBecauseOfBuildInProgress
Direct Known Subclasses:
AbstractProject.BecauseOfBuildInProgress

public class BlockedBecauseOfBuildInProgress extends CauseOfBlockage
Indicates that a new build is blocked because the previous build is already in progress. Useful for implementing Queue.Task.getCauseOfBlockage() from a Job which supports Queue.Task.isConcurrentBuild().
Since:
1.624
  • Constructor Details

    • BlockedBecauseOfBuildInProgress

      public BlockedBecauseOfBuildInProgress(@NonNull Run<?,?> build)
      Creates a cause for the specified build.
      Parameters:
      build - Build, which is already in progress
  • Method Details