Plugin configurations are sets of parameters that can be applied across some, or all, plugin procedures. They can reduce the repetition of common values, create predefined parameter sets, and securely store credentials. Each configuration is given a unique name that is entered in the designated parameter for the plugin procedures that use them. The following steps illustrate how to create a plugin configuration that can be used by one or more plugin procedures.
To create a plugin configuration:
-
Navigate to
. -
Select Add plugin configuration to create a new configuration.
-
In the New Configuration window, specify a Name for the configuration.
-
Select the Project that the configuration belongs to.
-
Optionally, add a Description for the configuration.
-
Select the appropriate Plugin for the configuration.
-
Configure the plugin configuration parameters.
-
Select OK.
Depending on your plugin configuration and how you run procedures, the Differences in plugin UI behavior. field may behave differently in the CloudBees CD/RO UI. For more information, refer to |
GCloud plugin configuration parameters
Parameter | Description |
---|---|
Configuration name |
Required. The name for the created configuration. |
Description |
Description for the configuration. |
GCloud path |
Required. An absolute or relative path to the GCloud executable. |
GCloud configuration name |
Required. The name of the Google Cloud Platform configuration. |
Authorization type |
Authorization type. Either provide a JSON key file or use the instance metadata (a service account should be assigned to the instance) to authenticate API calls. |
Credential |
Service account key in JSON format. For example:
|
Project name |
The name of the Google Cloud Platform project. |
GCloud properties |
Properties to pass to the configuration in the following format: |
Check configuration resource |
A resource that is used for the checking configuration. The |
Debug level |
This option sets the debug level for logs. If Info is selected, only a summary is displayed. If Debug is selected, debug information is displayed. If Trace is selected, all requests and responses are displayed. |