Package jenkins.branch
package jenkins.branch
-
ClassDescriptionHolds the basic 'empty view' parentA source code branch.Represents a dead branch.Ensures that the
Branch.getActions()
are always present in theActionable.getAllActions()
.An extension point that allows controlling whether a specificSCMHead
should be automatically built when discovered.Descriptor
forBranchBuildStrategy
instances.Declares that a build was due to a branch event.Declares that a build was due to branch indexing.Defines the environment variableBRANCH_NAME
andBRANCH_IS_PRIMARY
for multibranch builds.Creates instances of the branch projects for a specificBranch
and also provides some utility methods for updating the branch specific projects.Base class for allBranchProjectFactory
instances.Additional information associated withBranch
.Descriptor
forBranchProperty
.Ensures that the configuration screen of (for example)DefaultBranchPropertyStrategy
shows only appropriate descriptors.A strategy for determining the properties that apply to a specificSCMHead
.The base class forDescriptor
s orBranchPropertyStrategy
instances.A source of branches, which consists of a source and a strategy for creating properties of the branches from this source.OurDescriptor
.ListViewColumn
that shows the status icon for item ensuring thatBranch.Dead
jobs are reported as disabled.Our descriptor.Hide this column from user views as it would only confuse them.Deprecated.OurDescriptor
.An action that puts some css on job and run pages for jobs representingBranch.Dead
.A very simpleBranchPropertyStrategy
that just returns the same set of properties for allSCMHead
instances.ListViewColumn
that shows the description text of aJob
with priority given toObjectMetadataAction.getObjectDescription()
.Our descriptor.DescriptorOrder<T extends Describable<T>>AComparator
that comparesDescribable
instances of a specific type based on the order of theirDescriptor
s inJenkins
's list ofDescriptor
s for that type.Our extension.Hide this column from user views as it would only confuse them.Something that can decorate a job.Generated localization support class.AFolderIcon
specifically forOrganizationFolder
andMultiBranchProject
instances that will delegate to theAvatarMetadataAction
attached to the folder.Our descriptor.Abstract base class for multiple-branch based projects.Represents the branch indexing job.Veto attempts to copy branch projects outside of their multibranch container.Our event listener.Adds theMultiBranchProject.State.sourceActions
toActionable.getAllActions()
.TheDescriptor
forMultiBranchProject
s.MultiBranchProjectDescriptor.ChildNameGeneratorImpl<P extends Job<P,R> & TopLevelItem, R extends Run<P, R>> Possible Display naming strategies.ASCMSourceTrait
that controls how to set display names forSCMHead
s with additional information like merge/change/pull requests.Our descriptor.Special view used whenMultiBranchProject
has no branches.CreatesMultiBranchProject
s for repositories where recognized.Creates a particular kind of multibranch project insofar as at least oneSCMHead
satisfies a probe.A kind ofMultiBranchProjectFactory
.Holds the view configuration for anMultiBranchProject
.A custom category specific view.Our descriptorAllows named branches to get different properties from the rest.Holds the specific named exception details.OurDescriptor
Encodes names that are not nice so that they are safe to use as URL path segments.Mangles names that are not nice so that they are safe to use on filesystem.Suppresses builds due to eitherBranchIndexingCause
orBranchEventCause
.Keeps configuration used to determine whether builds requested byBranchIndexingCause
orBranchEventCause
should be suppressed.Strategy which determines which builds should be suppressed.DefinesNoTriggerBranchProperty
on selected branches.A property that sets the health metrics for immediate children of anOrganizationFolder
.Our descriptor.Configures theOrphanedItemStrategy
to use for children of aOrganizationFolder
.Our descriptor.Special marker class to flag copying the parent strategy.Our descriptor.Our descriptor.A folder-like collection ofMultiBranchProject
s, one per repository.Our descriptorOur scan.Listens for events from the SCM event system.Adds theOrganizationFolder.State.getActions()
toActionable.getAllActions()
.Special view used whenOrganizationFolder
has no repositories.OrganizationFolderProperty<C extends OrganizationFolder>AAbstractFolderProperty
that is specific toOrganizationFolder
s.TheDescriptor
base class forOrganizationFolderProperty
types.Holds the view configuration for anOrganizationFolder
.A custom category specific view.Our descriptorAllows overriding indexing triggers for an individual job - either by enabling when the multibranch or org is set to suppress them, or disabling if they're otherwise enabled.Support for build parameters.AFolderHealthMetric
forMultiBranchProject
instances that only reports the health of the primary branch.Our descriptor.Something that can decorate a project.Holds the unmangled project name provided toSCMSourceObserver.observe(String)
and used to create aMultiBranchProject
within aOrganizationFolder
.PropertyMigration<F extends com.cloudbees.hudson.plugins.folder.AbstractFolder<?>,P extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<F>> An extension point that captures the need for a complex migration of a folder property into some other configuration of the containing folder.PropertyMigration.Migrator<F extends com.cloudbees.hudson.plugins.folder.AbstractFolder<?>,P extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<F>> Deprecated.Suppressed byJobPropertyStep.HideSuperfluousBranchProperties
for Pipeline.Our descriptorOur descriptor.This does the work of blocking builds while the throttle is enforced.This class is to work around some annoying "features" of f:optionalBlockBase class for aViewJobFilter
that will filter based on theBranch
that a job in aMultiBranchProject
belongs to.Provides the alternative text forAbstractItem.TASK_NOUN
when running on newer versions of Jenkins.Deprecated.Not used by Pipeline.OurDescriptor
.Chooses manageable workspace names for (especially branch) projects.Cleans up workspaces for apparently missing jobs when a node goes online.Cleans up workspace when an orphaned project is deleted.
JobPropertyStep.HideSuperfluousBranchProperties
for Pipeline.