Uses of Annotation Interface
hudson.Extension
Package
Description
Server-side CLI commands for Hudson.
Code for supporting declarative CLI commands, which are annotated methods on model objects.
Beef up the plain text console output by adding HTML markup.
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Code that monitors the health of agents
Jenkins's interface with source code management systems.
QuickSilver-like search/jump capability for better navigation around Jenkins.
Security-related code.
Code related to agents.
Built-in
Trigger
s that run periodically to kick a new build.Other miscellaneous utility code
Agent → controller security.
-
Uses of Extension in hudson
Modifier and TypeClassDescriptionclass
Show "About Jenkins" link.static final class
static class
Discovers components via sezpoz but instantiates them by using Guice.static final class
AdministrativeMonitor
that checks if there are any plugins with cycle dependencies.static final class
AdministrativeMonitor
that checks if there are any plugins that are deprecated.static final class
AdministrativeMonitor
that informs the administrator about a required plugin update.static class
class
static class
This extension provides a Ping protocol that allows people to verify that theTcpSlaveAgentListener
is alive.Modifier and TypeFieldDescriptionstatic final PluginWrapper.PluginWrapperAdministrativeMonitor
PluginWrapper.NOTICE
Modifier and TypeMethodDescriptionprotected double
ExtensionFinder.DefaultGuiceExtensionAnnotation.getOrdinal
(Extension annotation) protected boolean
ExtensionFinder.DefaultGuiceExtensionAnnotation.isOptional
(Extension annotation) -
Uses of Extension in hudson.cli
Modifier and TypeClassDescriptionclass
class
Builds a job, and optionally waits until its completion.class
Cancel previous quiet down Jenkins - preparation for a restartclass
Clears the build queueclass
Shows usage of CLI and commands.class
Makes CLI HTTP fallback work with CSRF protection enabled (JENKINS-18114).class
Reconnect to a node or nodes.class
cat/tail/head of the console output.class
Copies a job from CLI.class
Creates a new job by reading stdin as a configuration XML file.class
class
class
Deletes builds records in a bulk.class
CLI command, which deletes a job or multiple jobs.class
CLI command, which deletes Jenkins nodes.class
class
Disable one or more installed plugins.class
CLI Command, which disconnects nodes.class
Enables one or more installed plugins.class
class
class
class
Executes the specified groovy script.class
Executes Groovy shell.class
Show the list of all commands.class
Installs a plugin either from a file, an URL, or from update center.class
Retrieves a change list for the specified builds.class
Lists all jobs (in a specific view).class
Outputs a list of installed plugins.class
CLI Command, which puts the Jenkins node offline.class
CLI Command, which moves the node to the online state.class
Quiet down Jenkins - preparation for a restartclass
Reload everything from the file system.class
Reloads job from the disk.class
class
Prints the current session ID number (that changes for every run) to allow clients to reliably wait for a restart.class
class
class
class
class
class
Retrieves the current version.class
CLI command, which waits till the node switches to the offline state.class
CLI command, which waits till the node switches to the online state.class
Report the current granted authorities -
Uses of Extension in hudson.cli.declarative
Modifier and TypeClassDescriptionclass
DiscoverCLIMethod
s and register them asCLICommand
implementations. -
Uses of Extension in hudson.console
Modifier and TypeClassDescriptionstatic final class
static class
static class
class
Annotates URLs in the console output to hyperlink. -
Uses of Extension in hudson.diagnosis
Modifier and TypeClassDescriptionclass
Periodically checks the disk usage ofJENKINS_HOME
, and activateHudsonHomeDiskUsageMonitor
if necessary.final class
Monitors the disk usage ofJENKINS_HOME
, and if it's almost filled up, warn the user.final class
Monitors the memory usage of the system in OS specific way.class
Some old descriptors apparently has the getId() method that's used in different ways and that's causing errors like JENKINS-8866, so detect and report that.class
Tracks whether any data structure changes were corrected when loading XML, that could be resaved to migrate that data to the new format.static class
class
Looks out for a broken reverse proxy setup that doesn't rewrite the location header correctly.class
If Hudson is run with a lot of jobs but no views, suggest the user that they can create views.Modifier and TypeFieldDescriptionstatic final SaveableListener
OldDataMonitor.changeListener
static final ItemListener
OldDataMonitor.itemDeleteListener
static final RunListener<Run>
OldDataMonitor.runDeleteListener
-
Uses of Extension in hudson.lifecycle
Modifier and TypeClassDescriptionclass
Lifecycle
that delegates the responsibility to restart Jenkins to an external watchdog such as SystemD or OpenRC.class
Lifecycle
that delegates its responsibility tosystemd(1)
.Modifier and TypeMethodDescriptionstatic WindowsInstallerLink
WindowsInstallerLink.registerIfApplicable()
Decide ifWindowsInstallerLink
should show up in UI, and if so, register it. -
Uses of Extension in hudson.logging
-
Uses of Extension in hudson.markup
-
Uses of Extension in hudson.model
Modifier and TypeClassDescriptionstatic final class
static class
static class
static class
static class
Default pinger - use Java built-in functionality.static class
static class
class
class
Service for plugins to periodically retrieve update data files (like the one in the update center) through browsers.static class
Serves the combined list of environment variables available from this plugin.static class
static final class
class
Scans the fingerprint database and remove old records that are no longer relevant.static class
static class
static final class
static class
static class
static class
static final class
static class
Periodically update the load statistics average.class
Adds the "Manage Jenkins" link to the top page.static final class
static class
static class
static class
static class
static final class
static class
static final class
ScheduleQueue.save()
call for near future once items change.static class
Default logic.static class
static class
static class
static class
static final class
AdministrativeMonitor
that checks if there's Jenkins update.class
static final class
static class
Resolve user ID from full namestatic class
Tries to verify if an ID is valid.class
class
Clean up old left-over workspaces from agents. -
Uses of Extension in hudson.model.queue
Modifier and TypeClassDescriptionstatic class
Considers currently running tasks and their completion. -
Uses of Extension in hudson.model.userproperty
Modifier and TypeClassDescriptionstatic class
User property related to account settings (e.g.static class
User interface related configurations (e.g.static class
Per user feature flags (e.g.static class
For user properties that are not expected to be displayed, typically automatically configured by automated behavior, without direct user interaction.static class
Preferences related configurations (e.g.static class
Security related configurations (e.g.static class
This category is used when theUserPropertyDescriptor
has not implemented theUserPropertyDescriptor.getUserPropertyCategory()
method (or the getUserPropertyCategoryAsString method for compatibility reason).static class
Inject the outer class configuration page into the sidenav and the request routing of the userstatic class
Inject the outer class configuration page into the sidenav and the request routing of the userstatic class
Inject the outer class configuration page into the sidenav and the request routing of the userstatic class
Inject the outer class configuration page into the sidenav and the request routing of the userstatic class
Inject the outer class configuration page into the sidenav and the request routing of the user -
Uses of Extension in hudson.node_monitors
Modifier and TypeClassDescriptionstatic final class
static class
static class
static class
class
IfNodeMonitor
marks the node as offline, we'll show this to the admin to get their attention.class
When an agent is connected, redo the node monitoring.static class
static class
static class
-
Uses of Extension in hudson.scm
-
Uses of Extension in hudson.search
-
Uses of Extension in hudson.security
Modifier and TypeClassDescriptionstatic final class
static class
class
Security configuration.static final class
static final class
static final class
static final class
Displays "manage users" link in the system config ifHudsonPrivateSecurityRealm
is in effect.static final class
static class
class
Expose the data needed for /whoAmI, so it can be exposed by Api. -
Uses of Extension in hudson.security.csrf
Modifier and TypeClassDescriptionstatic final class
class
Show the crumb configuration to the system config page. -
Uses of Extension in hudson.slaves
Modifier and TypeClassDescriptionclass
Establish a periodic ping to keep connections betweenagents
and the main Jenkins node alive.class
Periodically checks the agents and try to reconnect dead agents.class
Makes sure that connections to agents are alive, and if they are not, cut them off.static final class
static class
static class
static class
Periodically invoke NodeProvisionersstatic class
The default strategy.static class
static class
static class
-
Uses of Extension in hudson.tasks
Modifier and TypeClassDescriptionstatic class
static final class
static final class
static class
static class
static class
static final class
static final class
static class
static final class
static class
-
Uses of Extension in hudson.tasks._maven
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
static final class
-
Uses of Extension in hudson.tools
Modifier and TypeClassDescriptionstatic class
static class
class
Actually runs installations.static class
static class
static class
-
Uses of Extension in hudson.triggers
Modifier and TypeClassDescriptionstatic final class
static class
class
static class
static class
Runs every minute to checkTimerTrigger
and schedules build. -
Uses of Extension in hudson.util
Modifier and TypeClassDescriptionclass
Makes sure that no other Hudson uses ourJENKINS_HOME
directory, to forestall the problem of running multiple instances of Hudson that point to the same data directory.static final class
-
Uses of Extension in hudson.views
Modifier and TypeClassDescriptionstatic class
static class
static class
class
Adds the default view configuration to the system config page.static class
static class
static class
static class
static class
static class
ConfiguresViewsTabBar
in the system configuration.static class
static class
static class
ConfiguresViewsTabBar
in the system configuration.static class
-
Uses of Extension in hudson.widgets
Modifier and TypeClassDescriptionstatic final class
static final class
-
Uses of Extension in jenkins
Modifier and TypeClassDescriptionfinal class
Implements a daily update check for update sites andDownloadService.Downloadable
s that are due.class
Internationalization REST (ish) API.class
Sets a Jenkins specific user-agent HTTP header forHttpURLConnection
. -
Uses of Extension in jenkins.agents
Modifier and TypeClassDescriptionstatic class
class
final class
-
Uses of Extension in jenkins.appearance
Modifier and TypeClassDescriptionclass
Global configuration of appearance configuration.class
-
Uses of Extension in jenkins.cli
Modifier and TypeClassDescriptionclass
Safe Restart Jenkins - do not accept any new jobs and try to pause existing.class
-
Uses of Extension in jenkins.console
Modifier and TypeClassDescriptionclass
Allows administrators to activate and sortConsoleUrlProvider
extensions to set defaults for all users.static class
static class
-
Uses of Extension in jenkins.diagnosis
Modifier and TypeClassDescriptionclass
Finds crash dump reports and show them in the UI. -
Uses of Extension in jenkins.diagnostics
Modifier and TypeClassDescriptionclass
Performs monitoring ofJenkins
InitMilestone
status.class
class
class
Jenkins URL is required for a lot of operations in both core and plugins.class
Unsecured Jenkins is, well, insecure.class
-
Uses of Extension in jenkins.fingerprints
Modifier and TypeClassDescriptionclass
Default file system storage implementation for fingerprints.static class
class
Allows configuring the settings of fingerprints. -
Uses of Extension in jenkins.formelementpath
-
Uses of Extension in jenkins.install
Modifier and TypeClassDescriptionclass
A Jenkins instance used during first-run to provide a limited set of services while initial installation is in progressModifier and TypeFieldDescriptionstatic final InstallState
InstallState.CONFIGURE_INSTANCE
static final InstallState
InstallState.CREATE_ADMIN_USER
Creating an admin user for an initial Jenkins install.static final InstallState
InstallState.DOWNGRADE
Downgrade of an existing Jenkins install.static final InstallState
InstallState.INITIAL_PLUGINS_INSTALLING
New Jenkins install.static final InstallState
InstallState.INITIAL_SECURITY_SETUP
Security setup for a new Jenkins install.static final InstallState
InstallState.INITIAL_SETUP_COMPLETED
The initial set up has been completedstatic final InstallState
InstallState.NEW
New Jenkins install.static final InstallState
InstallState.RESTART
Restart of an existing Jenkins install.static final InstallState
InstallState.RUNNING
After any setup / restart / etc.static final InstallState
InstallState.UNKNOWN
Need InstallState != NEW for tests by defaultstatic final InstallState
InstallState.UPGRADE
Upgrade of an existing Jenkins install. -
Uses of Extension in jenkins.management
Modifier and TypeClassDescriptionclass
class
class
Show notifications and popups for active administrative monitors on all pages.class
class
class
class
class
class
class
class
class
class
-
Uses of Extension in jenkins.model
Modifier and TypeClassDescriptionclass
List of configuredArtifactManagerFactory
s.class
Serves files located in the/assets
classpath directory via the Jenkins core ClassLoader.class
Background task actually running background build discarders.static class
static class
class
Inform the admin about the migration.class
EnvironmentContributor
that adds the basic set of environment variables that we've been exposing historically.class
In case there are no other implementations we will fallback to this implementation.class
Default User.CanonicalIdResolver to escape unsupported characters and generate user ID.class
Global configuration UI for background build discardersclass
Run build discarders on an individual job once a build is finalizedclass
Deprecated.class
Configures check interval for computer retention.static class
Security related configurations.static class
This category represents the catch-all I-dont-know-what-category-it-is instance, used for thoseGlobalConfiguration
s that don't really deserve/need a separate category.class
IncludeNodePropertyDescriptor
configurations.class
Include config.jelly defined forPlugin
s.class
Configures the project naming strategy.class
Configures the system-default quiet period.class
Configures global SCM retry count default.static class
static class
static class
static class
static class
class
Stores the location of Jenkins (e-mail address and the HTTP URL.)static class
class
Adds the configuration regarding building on the built-in node.static class
static class
static class
static final class
static final class
static class
static class
static final class
class
Keeps track of the uptime of Jenkins.Modifier and TypeFieldDescriptionstatic final Jenkins.DescriptorImpl
Jenkins.DescriptorImpl.INSTANCE
-
Uses of Extension in jenkins.model.experimentalflags
Modifier and TypeClassDescriptionclass
static final class
-
Uses of Extension in jenkins.model.identity
Modifier and TypeClassDescriptionclass
A simple root action that exposes the public key to users so that they do not need to search for theX-Instance-Identity
response header, also exposes the fingerprint of the public key so that people can verify a fingerprint of a master before connecting to it. -
Uses of Extension in jenkins.model.item_category
Modifier and TypeClassDescriptionstatic final class
The defaultItemCategory
, if an item doesn't belong anywhere else, this is where it goes by default.class
Designed for project hierarchies with folders.class
Designed for projects with a self-contained configuration and history. -
Uses of Extension in jenkins.model.lazy
Modifier and TypeClassDescriptionstatic final class
Default factory if none other are installed.static final class
-
Uses of Extension in jenkins.model.queue
Modifier and TypeClassDescriptionclass
AQueue.QueueDecisionHandler
that blocks items being deleted from entering the queue. -
Uses of Extension in jenkins.monitor
Modifier and TypeClassDescriptionclass
class
-
Uses of Extension in jenkins.mvn
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
class
-
Uses of Extension in jenkins.scm
-
Uses of Extension in jenkins.security
Modifier and TypeClassDescriptionclass
JENKINS-22474: Makes API Token calls bypass CSRF protection to ease usagestatic final class
class
Checks if the password given in the BASIC header matches the user's API token.class
Checks if the password given in the BASIC header matches the user's actual password, as opposed to other pseudo-passwords like API tokens.static class
Standard filter which can load whitelists and blacklists from plugins.static class
Standard filter which pays attention to a system property.class
class
Adds the 'X-Frame-Options' header to all web pages.static final class
static class
Listen to the login success/failure event to persistGrantedAuthority
s properly.class
Show theQueueItemAuthenticator
configurations on the system config page.static class
final class
Configure the resource root URL, an alternative root URL to serve resources from to not need Content-Security-Policy headers, which mess with desired complex output.class
Prohibit requests to Jenkins coming through a resource domain URL configured withResourceDomainConfiguration
, except anything going toResourceDomainRootAction
.class
Recommend use ofResourceDomainConfiguration
to users with the system propertyhudson.model.DirectoryBrowserSupport.CSP
set to overrideDirectoryBrowserSupport.DEFAULT_CSP_VALUE
.class
Root action servingDirectoryBrowserSupport
instances on random URLs to support resource URLs (second domain).static class
class
Configuration for update site-provided warnings.class
Administrative monitor showing plugin/core warnings published by the configured update site to the user.final class
Cache layer forUserDetails
lookup. -
Uses of Extension in jenkins.security.apitoken
Modifier and TypeClassDescriptionclass
Configuration for the new token generation when a user is createdclass
Monitor that the API Token are not generated by default without the user interaction.class
Monitor that the API Token cannot be created for a user without existing legacy tokenclass
Monitor the list of users that still have legacy token -
Uses of Extension in jenkins.security.csrf
Modifier and TypeClassDescriptionclass
Monitor that the CSRF protection is enabled on the application. -
Uses of Extension in jenkins.security.s2m
Modifier and TypeClassDescriptionclass
Deprecated.This class no longer has any effect.static class
InstallsCallableDirectionChecker
to every channel.class
Deprecated. -
Uses of Extension in jenkins.security.seed
Modifier and TypeClassDescriptionstatic final class
class
Inject the user seed inside the session (when there is an existing request) as part of the re-authentication mechanism provided byHttpSessionContextIntegrationFilter2
andUserSeedProperty
. -
Uses of Extension in jenkins.security.stapler
Modifier and TypeClassDescriptionclass
Fill the list of getter methods that are whitelisted for Stapler Each item in the set are formatted to correspond exactly to whatFunction.getDisplayName()
returns -
Uses of Extension in jenkins.slaves
Modifier and TypeClassDescriptionclass
Match the name against the agent name and route the incoming agent asSlave
.class
Singleton holder ofIOHub
class
Master-side implementation for JNLP4-connect protocol.class
Singleton holder ofNioChannelHub
static class
Deprecated.class
-
Uses of Extension in jenkins.slaves.restarter
Modifier and TypeClassDescriptionclass
Actual agent restart logic.class
On Unix, restart via exec-ing to itself.class
With winsw, restart via winsw -
Uses of Extension in jenkins.slaves.systemInfo
Modifier and TypeClassDescriptionclass
class
class
class
-
Uses of Extension in jenkins.tasks
-
Uses of Extension in jenkins.tasks.filters
Modifier and TypeClassDescriptionclass
Configuration of the filter rules that are applied globally, after filtering which rule applies on which builder -
Uses of Extension in jenkins.tasks.filters.impl
-
Uses of Extension in jenkins.telemetry
Modifier and TypeClassDescriptionclass
This class stores a UUID identifying this instance for telemetry reporting to allow deduplication or merging of submitted records.static class
-
Uses of Extension in jenkins.telemetry.impl
Modifier and TypeClassDescriptionclass
class
Collect the value of various Java system properties describing the environment.class
Telemetry implementation that gathers information about optional permissions.class
class
Telemetry implementation gathering information about system properties.class
Telemetry implementation gathering information about Stapler dispatch routes.class
Records approximations of when Jenkins was started and the current time, to allow for computation of uptime.class
static final class
-
Uses of Extension in jenkins.tools
Modifier and TypeClassDescriptionclass
class
Global configuration of tool locations and installers. -
Uses of Extension in jenkins.triggers
Modifier and TypeClassDescriptionstatic final class
static class
static final class
-
Uses of Extension in jenkins.util
Modifier and TypeClassDescriptionclass
Basic default implementation ofScriptListener
that just logs.static final class
-
Uses of Extension in jenkins.views
-
Uses of Extension in jenkins.websocket
-
Uses of Extension in jenkins.widgets
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
static final class
static final class
final class
Deprecated.New widgets should provide aWidgetFactory
instead of relying on this legacy lookup.
CloudsLink
andCloudSet
.