Package hudson.cli
Server-side CLI commands for Hudson.
-
Class Summary Class Description AbstractBuildRangeCommand Deprecated. rather useRunRangeCommand
AddJobToViewCommand BuildCommand Builds a job, and optionally waits until its completion.BuildCommand.CLICause CancelQuietDownCommand Cancel previous quiet down Jenkins - preparation for a restartClearQueueCommand Clears the build queueCLIAction Shows usage of CLI and commands.CLICommand Base class for Hudson CLI.CliCrumbExclusion Makes CLI HTTP fallback work with CSRF protection enabled (JENKINS-18114).CliTransportAuthenticator Deprecated. No longer used.CloneableCLICommand Connection Deprecated. No longer used.ConnectNodeCommand Reconnect to a node or nodes.ConsoleCommand cat/tail/head of the console output.CopyJobCommand Copies a job from CLI.CreateJobCommand Creates a new job by reading stdin as a configuration XML file.CreateNodeCommand CreateViewCommand DeleteBuildsCommand Deletes builds records in a bulk.DeleteJobCommand CLI command, which deletes a job or multiple jobs.DeleteNodeCommand CLI command, which deletes Jenkins nodes.DeleteViewCommand DisablePluginCommand Disable one or more installed plugins.DisconnectNodeCommand CLI Command, which disconnects nodes.EnablePluginCommand Enables one or more installed plugins.GetJobCommand GetNodeCommand GetViewCommand GroovyCommand Executes the specified groovy script.GroovyshCommand Executes Groovy shell.HelpCommand Show the list of all commands.InstallPluginCommand Installs a plugin either from a file, an URL, or from update center.ListChangesCommand Retrieves a change list for the specified builds.ListJobsCommand Lists all jobs (in a specific view).ListPluginsCommand Outputs a list of installed plugins.Messages Generated localization support class.OfflineNodeCommand CLI Command, which puts the Jenkins node offline.OnlineNodeCommand CLI Command, which moves the node to the online state.QuietDownCommand Quiet down Jenkins - preparation for a restartReloadConfigurationCommand Reload everything from the file system.ReloadJobCommand Reloads job from the disk.RemoveJobFromViewCommand RunRangeCommand CLICommand
that acts on a series ofRun
s.SessionIdCommand Prints the current session ID number (that changes for every run) to allow clients to reliably wait for a restart.SetBuildDescriptionCommand SetBuildDisplayNameCommand UpdateJobCommand UpdateNodeCommand UpdateViewCommand VersionCommand Retrieves the current version.WaitNodeOfflineCommand CLI command, which waits till the node switches to the offline state.WaitNodeOnlineCommand CLI command, which waits till the node switches to the online state.WhoAmICommand Report the current granted authorities