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 |
REST plugin configuration parameters
Parameter | Description |
---|---|
Configuration name |
Required. The name for the created configuration. |
Description |
Description of the configuration. |
URL base |
Required. Base URL for REST requests. For example, |
Port |
Server port. Leave empty to use the default port for the provided scheme. |
Default request timeout |
Default REST client request timeout in seconds. |
Customize protocols |
Customize protocols for transport negotiation. |
HTTP/2 |
Use protocol HTTP/2.0 for transport negotiation. |
HTTP/1.1 |
Use protocol HTTP/1.1 for transport negotiation. |
HTTP/2 with prior knowledge |
Use protocol HTTP/2 with prior knowledge for transport negotiation. |
Ignore SSL issues |
Turns SSL verification off for instances with self-signed certificates. |
Auth type |
Authentication types:
|
Login as |
The credential for |
Bearer token |
The credential for |
Authentication header |
The credential for the custom authentication header or prefix. For example:
|
Default request content type |
Default REST client request content type. |
Default accepted MIME types. |
Indicates which content types, expressed as |
Initial path URL |
Relative URL Path. For example, |
Default query options |
Newline-separated request query options in format |
Default headers |
Provide the headers required for the request. Used to check the connection. For more than one header, write each header on a new line. Key-value pairs may be written separated by a whitespace, colon, or equals. Example (note that each key-value pair must appear on a new line):
|
Fields used only to check connections |
|
Path URL |
Relative URL Path. Used to check connection. For example, |
Query options |
Newline-separated request query options in the following format |
Content type |
Content type required for the request. Used to check the connection. Examples:
|
Cookie value |
Value sent as a cookie. Used for checking the connection. Example:
|
Headers |
Provide the headers required for the request. Used to check the connection. For more than one header, write each header on a new line. Key-value pairs may be written separated by a whitespace, colon, or equals. Example (note that each key-value pair must appear on a new line):
|
Form content |
Provide the content required for the request.
For example: |
Request type |
Includes the following options: |
HTTP proxy |
A proxy server URL that should be used for connections. |
Proxy authorization |
The username and password for the proxy. |
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. |