| Package | Description |
|---|---|
| hudson.plugins.git | |
| hudson.plugins.git.extensions | |
| hudson.plugins.git.extensions.impl | |
| jenkins.plugins.git | |
| jenkins.plugins.git.traits |
The common behaviours that can be used by all
GitSCMSource instances and most
AbstractGitSCMSource instances. |
| Modifier and Type | Method and Description |
|---|---|
DescribableList<GitSCMExtension,GitSCMExtensionDescriptor> |
GitSCM.getExtensions()
All the configured extensions attached to this
GitSCM. |
| Constructor and Description |
|---|
GitSCM(List<UserRemoteConfig> userRemoteConfigs,
List<BranchSpec> branches,
Boolean doGenerateSubmoduleConfigurations,
Collection<SubmoduleConfig> submoduleCfg,
GitRepositoryBrowser browser,
String gitTool,
List<GitSCMExtension> extensions)
Deprecated.
|
GitSCM(List<UserRemoteConfig> userRemoteConfigs,
List<BranchSpec> branches,
GitRepositoryBrowser browser,
String gitTool,
List<GitSCMExtension> extensions) |
| Modifier and Type | Class and Description |
|---|---|
class |
FakeGitSCMExtension
Marker to designate that this extension point doesn't operate by implementing
the callbacks but instead
GitSCM has a prior knowledge about this extension. |
| Modifier and Type | Method and Description |
|---|---|
static DescriptorExtensionList<GitSCMExtension,GitSCMExtensionDescriptor> |
GitSCMExtensionDescriptor.all() |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthorInChangelog
Use author, not committer as the
ChangeLogSet.Entry.getAuthor() of the commit. |
class |
BuildChooserSetting
Holds
BuildChooser. |
class |
BuildSingleRevisionOnly
Don't trigger another build to catch up
|
class |
ChangelogToBranch
This extension activates the alternative changelog computation,
where the changelog is calculated against a specified branch.
|
class |
CheckoutOption
Add options to the checkout command.
|
class |
CleanBeforeCheckout
git-clean before the checkout.
|
class |
CleanCheckout
git-clean after the checkout.
|
class |
CloneOption |
class |
DisableRemotePoll
Disable Workspace-less polling via "git ls-remote".
|
class |
GitLFSPull
git-lfs-pull after the checkout.
|
class |
IgnoreNotifyCommit
Trigger from push notification should be moved to the core as a generic cross-SCM function.
|
class |
LocalBranch
The Git plugin checks code out to a detached head.
|
class |
MessageExclusion
GitSCMExtension that ignores commits with specific messages. |
class |
PathRestriction
GitSCMExtension that ignores commits that only affects specific paths. |
class |
PerBuildTag
Tags every build.
|
class |
PreBuildMerge
Speculatively merge the selected commit with another branch before the build to answer the "what happens
if I were to integrate this feature branch back to the master?" question.
|
class |
PruneStaleBranch
Prune stale remote-tracking branches
|
class |
PruneStaleTag
Prune stale local tags that do not exist on any remote.
|
class |
RelativeTargetDirectory
Instead of checking out to the top of the workspace, check out somewhere else.
|
class |
ScmName
When used with
org.jenkinsci.plugins.multiplescms.MultiSCM, this differentiates a different instance. |
class |
SparseCheckoutPaths |
class |
SubmoduleOption
Further tweak the behaviour of git-submodule.
|
class |
UserExclusion
GitSCMExtension that ignores commits that are made by specific users. |
class |
UserIdentity
GitSCMExtension that sets a different name and/or e-mail address for commits. |
class |
WipeWorkspace
Force a re-clone.
|
| Modifier and Type | Method and Description |
|---|---|
GitSCMExtension |
PruneStaleTag.DescriptorImpl.newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
| Modifier and Type | Class and Description |
|---|---|
class |
GitSCMSourceDefaults
Used to reset the default clone behaviour for
GitSCM instances created by GitSCMBuilder. |
class |
MergeWithGitSCMExtension
Similar to
PreBuildMerge, but for use from SCMSource implementations that need to specify the exact
base branch hash. |
| Modifier and Type | Method and Description |
|---|---|
List<GitSCMExtension> |
GitSCMBuilder.extensions()
Returns the
GitSCMExtension instances to apply to the GitSCM. |
List<GitSCMExtension> |
AbstractGitSCMSource.getExtensions()
Deprecated.
use corresponding
GitSCMExtensionTrait (and if there isn't one then likely the
GitSCMExtension is not appropriate to use in the context of a SCMSource) |
| Modifier and Type | Method and Description |
|---|---|
B |
GitSCMBuilder.withExtension(GitSCMExtension extension)
Adds (or redefines) the supplied
GitSCMExtension. |
B |
GitSCMBuilder.withExtensions(GitSCMExtension... extensions)
Adds (or redefines) the supplied
GitSCMExtensions. |
| Modifier and Type | Method and Description |
|---|---|
void |
GitSCMSource.setExtensions(List<GitSCMExtension> extensions)
Deprecated.
|
B |
GitSCMBuilder.withExtensions(List<GitSCMExtension> extensions)
Adds (or redefines) the supplied
GitSCMExtensions. |
| Modifier and Type | Class and Description |
|---|---|
class |
GitSCMExtensionTrait<E extends GitSCMExtension>
Base class for exposing a
GitSCMExtension as a SCMSourceTrait. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends GitSCMExtension> |
GitSCMExtensionTraitDescriptor.getExtensionClass()
Returns the type of
GitSCMExtension that the GitSCMExtensionTrait wraps. |
| Modifier and Type | Method and Description |
|---|---|
jenkins.scm.api.trait.SCMSourceTrait |
GitSCMExtensionTraitDescriptor.convertToTrait(GitSCMExtension extension)
Converts the supplied
GitSCMExtension (which must be of type GitSCMExtensionTraitDescriptor.getExtensionClass()) into
its corresponding GitSCMExtensionTrait. |
jenkins.scm.api.trait.SCMSourceTrait |
LocalBranchTrait.DescriptorImpl.convertToTrait(GitSCMExtension extension)
Converts the supplied
GitSCMExtension (which must be of type GitSCMExtensionTraitDescriptor.getExtensionClass()) into
its corresponding GitSCMExtensionTrait. |
| Constructor and Description |
|---|
GitSCMExtensionTraitDescriptor(Class<? extends jenkins.scm.api.trait.SCMSourceTrait> clazz,
Class<? extends GitSCMExtension> extension)
Constructor to use when type inference using
GitSCMExtensionTraitDescriptor() does not work. |
Copyright © 2007–2021. All rights reserved.