#Jenkins Plugin Installer Script
This script sends HTTP POST request with plugin data and installs the plugin using Jenkins API.
##Configuration
Open the script using a test editor. Configure the following two items.
Config Item | Description |
---|---|
host | FQDN of the Jenkinds server |
url | URL of the plugin manager API |
E.G.
host=http://localhost:8080
url=/pluginManager/installNecessaryPlugins
##Usage
Run the script with two arguments. First one is the plugin name and the second one is the plugin version.
./JenkinsPluginInstaller.sh plugin_name plugin version
E.G.
./JenkinsPluginInstaller.sh git 2.0