public class BuildNumberRunSelector extends AbstractSpecificRunSelector
Modifier and Type | Class and Description |
---|---|
static class |
BuildNumberRunSelector.DescriptorImpl |
Constructor and Description |
---|
BuildNumberRunSelector(String buildNumber) |
Modifier and Type | Method and Description |
---|---|
hudson.model.Run<?,?> |
getBuild(hudson.model.Job<?,?> job,
RunSelectorContext context)
Override this method to implement
AbstractSpecificRunSelector . |
String |
getBuildNumber() |
getNextBuild
getDisplayName, select
@DataBoundConstructor public BuildNumberRunSelector(String buildNumber)
@CheckForNull public hudson.model.Run<?,?> getBuild(@Nonnull hudson.model.Job<?,?> job, @Nonnull RunSelectorContext context) throws IOException
AbstractSpecificRunSelector
AbstractSpecificRunSelector
.getBuild
in class AbstractSpecificRunSelector
job
- the job to pick a build from.context
- context for the current execution of runselector.IOException
- if an error occurs while performing the operation.Copyright © 2016–2020. All rights reserved.