Skip to content

Command install-plugin

Installs a plugin either from a file, an URL, or from update center.
Command
java -jar jenkins-cli.jar -s https://jenkins.garasiku.autos/ install-plugin SOURCE ... [-deploy] [-name VAL] [-restart]
 SOURCE    : If this is an URL, Jenkins downloads the URL and installs that as
             a plugin. If it is the string ‘=’, the file will be read from
             standard input of the command. Otherwise the name is assumed to be
             the short name of the plugin in the existing update center (like
             ‘findbugs’), and the plugin will be installed from the update
             center. If the short name includes a minimum version number (like
             ‘findbugs:1.4’), and there are multiple update centers publishing
             different versions, the update centers will be searched in order
             for the first one publishing a version that is at least the
             specified version.
 -deploy   : Deploy plugins right away without postponing them until the
             reboot. (default: false)
 -name VAL : No longer used.
 -restart  : Restart Jenkins upon successful installation. (default: false)