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 field may behave differently in the Cloudbees CD/RO UI. For more information, refer to Differences in plugin UI behavior. |
Git plugin configuration parameters
| Parameter | Description | ||
|---|---|---|---|
Configuration name |
Required. The unique name for the configuration. |
||
Description |
A description of the configuration. |
||
Authentication types |
SCM-specific authentication types.
|
||
Username and password |
The username and password.
|
||
Token |
The personal access token that has proper access scope. |
||
Key |
The private key that allows access to Git repositories.
|
||
Passphrase |
The passphrase that is used to encrypt the protected key. |
||
GitHub Apps |
A JWT is generated using a private key (in PEM format) and the GitHub App Client ID. |
||
Client ID from GitHub App |
Client ID for updating the JWT with issuer. |
||
Installation ID associated with GitHub App |
Installation ID associated with GitHub App, which is used for generating installation access token for accessing github resources. |
||
Library to use |
You can select Git CLI or JGit lib to work with the Git tree. Some commands are not available in the JGit library, but are independent of resources. If you are using the Git CLI, it must be installed on the resource. |
||
Repository URL for check configuration |
The plugin checks if the repository is accessible before saving the configuration values. |
||
Ignore SSL errors |
Turns off SSL verification for instances with self-signed certificates. Ignored (forced off) when mTLS is enabled; with mTLS, provide the CA bundle in the mTLS CA Certificate Bundle field instead. |
||
Check configuration resource |
A resource that is used to check the configuration. If you are using the Git CLI, it must be installed on the resource. |
||
Enable mTLS |
Enable mutual TLS (mTLS) authentication. Check this if the Git server is behind a gateway that requires client certificate verification. Applies to HTTPS repository URLs only, for both the JGit library and the Git CLI. When mTLS is enabled, Ignore SSL errors is forced off, and Git CLI runs are refused if the agent sets |
||
mTLS Client Certificate (PEM) |
Client certificate in PEM format for mTLS authentication. |
||
mTLS Client Private Key (PEM) |
Client private key in PEM format corresponding to the mTLS client certificate. |
||
mTLS CA Certificate Bundle (PEM) |
(Optional) CA certificate bundle in PEM format for verifying the server during mTLS handshake. Leave blank to use the system default CA bundle. If the server uses a private or self-signed CA, provide the CA bundle here instead of enabling |
||
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. |