public class DefaultBuildChooser extends BuildChooser
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultBuildChooser.DescriptorImpl |
gitSCM| Constructor and Description |
|---|
DefaultBuildChooser() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Revision> |
getCandidateRevisions(boolean isPollCall,
String singleBranch,
IGitAPI git,
hudson.model.TaskListener listener,
BuildData data)
Determines which Revisions to build.
|
all, equals, getDescriptor, getDisplayName, hashCode, prevBuildForChangelogpublic Collection<Revision> getCandidateRevisions(boolean isPollCall, String singleBranch, IGitAPI git, hudson.model.TaskListener listener, BuildData data) throws GitException, IOException
getCandidateRevisions in class BuildChooserisPollCall - true if this method is called from pollChanges.singleBranch - contains the name of a single branch to be built
this will be non-null only in the simple case, in advanced
cases with multiple repositories and/or branches specified
then this value will be null.IOExceptionGitExceptionCopyright © 2004-2015 Hudson. All Rights Reserved.