public class GitBlitSCMSource
extends jenkins.plugins.git.GitSCMSource
| Modifier and Type | Class and Description |
|---|---|
static class |
GitBlitSCMSource.DescriptorImpl
SCMSource descriptor.
|
jenkins.plugins.git.GitSCMSource.ListenerImpljenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl, jenkins.plugins.git.AbstractGitSCMSource.SpecificRevisionBuildChooser| Constructor and Description |
|---|
GitBlitSCMSource(String id,
String gitblitUri,
String checkoutCredentialsId,
String scanCredentialsId,
String remote,
String includes,
String excludes)
Construct a GitblitSCMSource which represents a GitBlit repository.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addAliases()
Used for class and package name retrocompatibility.
|
String |
getCheckoutCredentialsId() |
String |
getCredentialsId() |
String |
getGitblitUri() |
protected List<org.eclipse.jgit.transport.RefSpec> |
getRefSpecs() |
String |
getRemote()
This dictates where the specific URL from which the source will be retrieved.
|
String |
getScanCredentialsId() |
List<jenkins.scm.api.trait.SCMSourceTrait> |
getTraits() |
void |
setTraits(List<jenkins.scm.api.trait.SCMSourceTrait> traits) |
getRawRefSpecs, isIgnoreOnPushNotifications, setBrowser, setCredentialsId, setExtensions, setGitToolbuild, decorate, getBrowser, getCacheDir, getCacheEntry, getCacheLock, getCredentials, getExcludes, getExtensions, getGitTool, getIncludes, getRemoteConfigs, getRemoteName, isCategoryEnabled, isExcluded, newBuilder, resolveGitTool, resolveGitTool, retrieve, retrieve, retrieve, retrieveActions, retrieveActions, retrieveRevisionsafterSave, build, canProbe, checkInterrupt, createProbe, defaultListener, equals, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchActions, fetchActions, fetchActions, fetchRevisions, fromSCMFileSystem, getCategories, getCriteria, getDescriptor, getId, getOwner, getPronoun, getTrustedRevision, hashCode, hasId, newProbe, parentHeads, parentRevisions, retrieve, retrieve, retrieve, retrieve, retrieveActions, setId, setOwner, toString, withId@DataBoundConstructor public GitBlitSCMSource(String id, String gitblitUri, String checkoutCredentialsId, String scanCredentialsId, String remote, String includes, String excludes)
id - The source id given by the GitBlit organization plugin.gitblitUri - The GitBlit instance to which the repository belongs.checkoutCredentialsId - The credentials to (Git)check out.scanCredentialsId - The credentials to scan the repositories' branches.remote - The repository uri in GitBlit.includes - The pattern to include branches.excludes - The pattern to exclude branches.@Initializer(before=PLUGINS_STARTED) public static void addAliases()
public String getCredentialsId()
getCredentialsId in class jenkins.plugins.git.GitSCMSourcepublic String getScanCredentialsId()
public String getCheckoutCredentialsId()
public String getRemote()
getRemote in class jenkins.plugins.git.GitSCMSourcepublic String getGitblitUri()
public List<jenkins.scm.api.trait.SCMSourceTrait> getTraits()
getTraits in class jenkins.plugins.git.GitSCMSource@DataBoundSetter public void setTraits(List<jenkins.scm.api.trait.SCMSourceTrait> traits)
setTraits in class jenkins.plugins.git.GitSCMSourceprotected List<org.eclipse.jgit.transport.RefSpec> getRefSpecs()
getRefSpecs in class jenkins.plugins.git.GitSCMSourceCopyright © 2016–2019. All rights reserved.