public class GerritSCMSource extends AbstractGerritSCMSource
SCMSource that discovers branches in a git repository.| Modifier and Type | Class and Description |
|---|---|
static class |
GerritSCMSource.DescriptorImpl |
static class |
GerritSCMSource.ListenerImpl |
AbstractGerritSCMSource.Retriever<T>jenkins.plugins.git.AbstractGitSCMSource.SCMRevisionImpl, jenkins.plugins.git.AbstractGitSCMSource.SpecificRevisionBuildChooser| Modifier and Type | Field and Description |
|---|---|
static Logger |
LOGGER |
R_CHANGES, REF_SPEC_CHANGES| Constructor and Description |
|---|
GerritSCMSource(String remote) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentialsId() |
Boolean |
getInsecureHttps() |
String |
getRawRefSpecs() |
protected List<org.eclipse.jgit.transport.RefSpec> |
getRefSpecs() |
String |
getRemote() |
List<jenkins.scm.api.trait.SCMSourceTrait> |
getTraits() |
boolean |
isIgnoreOnPushNotifications() |
void |
setBrowser(hudson.plugins.git.browser.GitRepositoryBrowser browser) |
void |
setCredentialsId(String credentialsId) |
void |
setExtensions(List<hudson.plugins.git.extensions.GitSCMExtension> extensions) |
void |
setGitTool(String gitTool) |
void |
setInsecureHttps(Boolean insecureHttps) |
void |
setTraits(List<jenkins.scm.api.trait.SCMSourceTrait> traits) |
doRetrieve, getGerritURI, isCategoryEnabled, retrieve, retrieveActionsbuild, decorate, getBrowser, getCacheDir, getCacheEntry, getCacheLock, getCredentials, getExcludes, getExtensions, getGitTool, getIncludes, getRemoteConfigs, getRemoteName, isExcluded, newBuilder, resolveGitTool, resolveGitTool, retrieve, retrieve, 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, withIdpublic static final Logger LOGGER
@DataBoundConstructor public GerritSCMSource(String remote)
@DataBoundSetter public void setInsecureHttps(Boolean insecureHttps)
@DataBoundSetter public void setCredentialsId(@CheckForNull String credentialsId)
@DataBoundSetter public void setTraits(List<jenkins.scm.api.trait.SCMSourceTrait> traits)
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) public boolean isIgnoreOnPushNotifications()
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @DataBoundSetter public void setBrowser(hudson.plugins.git.browser.GitRepositoryBrowser browser)
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @DataBoundSetter public void setGitTool(String gitTool)
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @DataBoundSetter public void setExtensions(@CheckForNull List<hudson.plugins.git.extensions.GitSCMExtension> extensions)
public String getCredentialsId()
getCredentialsId in class jenkins.plugins.git.AbstractGitSCMSourcepublic String getRemote()
getRemote in class jenkins.plugins.git.AbstractGitSCMSourcepublic Boolean getInsecureHttps()
getInsecureHttps in class AbstractGerritSCMSource@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) public String getRawRefSpecs()
@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) protected List<org.eclipse.jgit.transport.RefSpec> getRefSpecs()
getRefSpecs in class jenkins.plugins.git.AbstractGitSCMSourceCopyright © 2018–2019. All rights reserved.