Description
Adding and maintaining plugins is easy if you have internet access. The Plugin Manager provides point-and-click plugin usage.
What if:
-
Your CloudBees CD (CloudBees Flow) Server does not have internet access.
-
You want to have a restrictive or expanded catalog for your CloudBees CD (CloudBees Flow) Server site.
Solution
Use the CloudBees CD (CloudBees Flow) Web Server to host the plugin catalog.
On the existing CloudBees CD (CloudBees Flow) Web Server do the following:
-
Create a directory "catalog" accessible by the CloudBees CD (CloudBees Flow) Web Server.
-
From a machine that has internet access, use a web browser to go to https://plugins.electric-cloud.com/catalog/browse.php:
-
Download each plugin
-
Save the plugin package to the Web Server catalog
-
-
Have the plugin manager point to a local plugin catalog:
-
Go to Administration > Plugins.
-
Select the "EC Plugin Manager" link.
-
Go to the Properties tab.
-
Modify the
catalogUrl
property, specifying a URL to a directory accessible on the internal network.
-
Example
Web Server setup
To use the existing Apache server that ships with CloudBees CD (CloudBees Flow) to store the local plugin catalog:
-
Create the directory
/apache/htdocs/catalog
-
Using a web browser, save the online catalog file https://downloads.cloudbees.com/cloudbees-cd/catalog/catalog.xml to
/apache/htdocs/catalog
-
Edit the local version of catalog.xml, replacing all instances of 'plugins.electric-cloud.com' with the hostname of the CloudBees CD (CloudBees Flow) server.
-
Change 'catalog’Url' to
https://WebServerHost/catalog/catalog.xml
, whereWebServerHost
is the name of your CloudBees CD (CloudBees Flow) server host.
Single Plugin update
To host the specialty plugin EC-CSH locally on the existing Web Server:
-
From a machine that has internet access, go to https://downloads.cloudbees.com/cloudbees-cd/catalog/browse.php
-
Save the EC-CSH package (a jar file) to
/apache/htdocs/catalog