Server-side CLI commands for Hudson.
Class Summary Class Description AbstractBuildRangeCommand Deprecated.rather use
AddJobToViewCommand BuildCommandBuilds a job, and optionally waits until its completion. BuildCommand.CLICause CancelQuietDownCommandCancel previous quiet down Jenkins - preparation for a restart ClearQueueCommandClears the build queue CLIActionShows usage of CLI and commands. CLICommandBase class for Hudson CLI. CliCrumbExclusionMakes CLI HTTP fallback work with CSRF protection enabled (JENKINS-18114). CliTransportAuthenticator Deprecated.No longer used. CloneableCLICommand Connection Deprecated.No longer used. ConnectNodeCommandReconnect to a node or nodes. ConsoleCommandcat/tail/head of the console output. CopyJobCommandCopies a job from CLI. CreateJobCommandCreates a new job by reading stdin as a configuration XML file. CreateNodeCommand CreateViewCommand DeleteBuildsCommandDeletes builds records in a bulk. DeleteJobCommandCLI command, which deletes a job or multiple jobs. DeleteNodeCommandCLI command, which deletes Jenkins nodes. DeleteViewCommand DisablePluginCommandDisable one or more installed plugins. DisconnectNodeCommandCLI Command, which disconnects nodes. EnablePluginCommandEnables one or more installed plugins. GetJobCommand GetNodeCommand GetViewCommand GroovyCommandExecutes the specified groovy script. GroovyshCommandExecutes Groovy shell. HelpCommandShow the list of all commands. InstallPluginCommandInstalls a plugin either from a file, an URL, or from update center. ListChangesCommandRetrieves a change list for the specified builds. ListJobsCommandLists all jobs (in a specific view). ListPluginsCommandOutputs a list of installed plugins. MessagesGenerated localization support class. OfflineNodeCommandCLI Command, which puts the Jenkins node offline. OnlineNodeCommandCLI Command, which moves the node to the online state. QuietDownCommandQuiet down Jenkins - preparation for a restart ReloadConfigurationCommandReload everything from the file system. ReloadJobCommandReloads job from the disk. RemoveJobFromViewCommand RunRangeCommand
CLICommandthat acts on a series of
SessionIdCommandPrints the current session ID number (that changes for every run) to allow clients to reliably wait for a restart. SetBuildDescriptionCommand SetBuildDisplayNameCommand UpdateJobCommand UpdateNodeCommand UpdateViewCommand VersionCommandRetrieves the current version. WaitNodeOfflineCommandCLI command, which waits till the node switches to the offline state. WaitNodeOnlineCommandCLI command, which waits till the node switches to the online state. WhoAmICommandReport the current granted authorities