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 |
OPEN_CHANGES_FILTER, R_CHANGES| Constructor and Description |
|---|
GerritSCMSource(String remote) |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.Secret |
getApiKey() |
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 |
setApiKey(hudson.util.Secret apiKey) |
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) |
createGerritChecksApi, decorate, doRetrieve, getChangeInfo, getGerritURI, isCategoryEnabled, retrieve, retrieve, retrieveActions, retrieveActionsbuild, getBrowser, getCacheDir, getCacheEntry, getCacheLock, getCredentials, getExcludes, getExtensions, getGitTool, getIncludes, getRemoteConfigs, getRemoteName, isExcluded, newBuilder, resolveGitTool, resolveGitTool, retrieve, 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.AbstractGitSCMSource@Nonnull public List<jenkins.scm.api.trait.SCMSourceTrait> getTraits()
getTraits in class jenkins.plugins.git.AbstractGitSCMSource@DataBoundSetter public void setApiKey(hudson.util.Secret apiKey)
public hudson.util.Secret getApiKey()
Copyright © 2018–2025. All rights reserved.