select
@CheckForNull
public hudson.model.Run<?,?> select(@Nonnull
hudson.model.Job<?,?> job,
@Nonnull
RunSelectorContext context)
throws IOException,
InterruptedException
- Overrides:
select in class RunSelector
- Parameters:
job - the job to pick a build from.
context - context for the current execution of runselector.
- Returns:
- the build matches this selectors and conditions stored in the context.
- Throws:
IOException - if an error occurs while performing the operation.
InterruptedException - if any thread interrupts the current thread.