Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.
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 |
AddDatasource
Adds a datasource resource declaration into the Tomcat context.
Input parameters
Parameter | Description |
---|---|
Context configuration path |
Required. The absolute path of the |
Datasource name |
Required. The name of the datasource. For example, |
URL |
Required. The connection URL to pass to the JDBC driver. For example, |
Maximum active connections |
Required. The maximum number of connections that can be allocated from this pool at the same time. The default is |
Maximum idle connections |
Required. The maximum number of connections that can sit idle in this pool at the same time. The default is |
Maximum wait for connections |
Required. When no connections are available, this is the maximum number of milliseconds
the pool waits for a connection to be returned before returning an error. The default is |
Minimum wait for connections |
The minimum number of connections that sit idle in this pool at the same time. |
Additional attributes |
Enter additional attributes for the resource, using the format:
|
Driver class name |
Required. The fully qualified Java class name of the JDBC driver to use.
For example, |
Datasource credential |
Specify the credential that contains the username and password for the datasource. |
CheckPageStatus
Checks the status of a page on a given URL.
Input parameters
Parameter | Description |
---|---|
Credentials |
The credentials to be entered. |
Maximum elapsed time |
Defines the maximum time, in seconds, the job tries to check into the server (a maximum of 180 seconds). If this field is left empty, no wait time is used (zero seconds). |
Success criteria |
Required. Indicates the status of the page that must be matched, with either a Page found or a Page not found status. If the Success criteria matches the returned status at the end of the analysis, it is considered a success. Otherwise, it is an error in the job. |
Page URL |
Required. The URL of the page to be checked. For example, |
CheckServerStatus
Checks the status of the specified server URL.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Maximum elapsed time |
Defines the maximum time, in seconds, the job attempts to check into the server. If left empty, no wait time is used and the URL is only checked once. |
Success criteria |
Required. Indicates the status of the page that must be matched, with either a Page found or a Page not found status. If the Success criteria matches the returned status at the end of the analysis, it is considered a success. Otherwise, it is an error in the job. |
CreateOrUpdateJMSConnectionFactory
Adds a new JMS Connection Factory or updates an existing Connection Factory based on the update action with support for different JMS providers.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Virtual hostname |
Required. The hostname of the Tomcat server or the virtual host to deploy the application. |
Request URL context path |
Required. The URL context path where Tomcat serves the application. |
JNDI name |
Required. The name used to look up the resource in JNDI. |
Provider |
Required. Select a provider for the JMS resources. |
ActiveMQ broker URL |
The URI is assumed to be a composite URI with multiple URIs used to bind the connectors of the broker. This parameter is required if the selected provider is Apache ActiveMQ. |
ActiveMQ broker name |
Broker name. This parameter is required if the selected provider is Apache ActiveMQ. |
WebsphereMQ connection factory type |
Type of resource that is controlled by WebsphereMQ connection factory. This parameter is required if the selected provider is IBM WebSphereMQ. |
WebsphereMQ server hostname |
Network hostname where the Websphere MQ provider is located. This parameter is required if the selected provider is IBM WebSphereMQ. |
WebsphereMQ server port |
TCP Port (1 - 65535) on the server where the Websphere MQ provider is located. This parameter is required if the selected provider is IBM WebSphereMQ. |
WebsphereMQ channel |
Name for a channel on WebsphereMQ. This parameter is required if the selected provider is IBM WebSphereMQ. |
WebsphereMQ queue manager |
Name of a queue manager on WebsphereMQ. This parameter is required if the selected provider is IBM WebSphereMQ. |
Custom connection factory class |
Fully qualified name of the Java class to use.
For example, |
Custom connection factory class |
Fully qualified name of the Factory Java class to use.
For example, |
Custom connection factory attributes |
Enter additional attributes for the resource, using the format:
|
Description |
Description for this connection factory. |
Update action |
Required. Specify the update action to take when a resource element with the same JNDI name exists:
|
CreateOrUpdateJMSQueue
Adds a new JMS queue or updates an existing JMS queue based on the update action, with support for different JMS providers.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Virtual hostname |
Required. The hostname of the Tomcat server or the virtual host to deploy the application. |
Request URL context path |
Required. The URL context path where Tomcat serves the application. |
JNDI name |
Required. The name used to look up the resource in JNDI. |
Provider |
Required. Select the provider for the JMS resources. |
Custom JMS queue class |
Fully qualified name of the Java class to use.
For example, |
Custom JMS queue factory class |
Fully qualified name of the Factory Java class to use.
For example, |
Custom JMS queue attributes |
Enter additional attributes for the resource, using the format:
|
Description |
Description for this JMS Queue. |
Update action |
Required. Specify the update action to take when a resource element with the same JNDI name exists:
|
CreateOrUpdateJMSTopic
Adds a new JMS Topic or updates an existing JMS Topic based on the update action, with support for different JMS providers.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Virtual hostname |
Required. The hostname of the Tomcat server or the virtual host to deploy the application. |
Request URL context path |
Required. The URL context path where Tomcat serves the application. |
JNDI name |
Required. Name used to look up the resource in JNDI. |
Provider |
Required. Select the provider for the JMS Resources:
|
Custom JMS topic class |
Fully qualified name of the Java class to use.
For example, |
Custom JMS topic factory class |
Fully qualified name of the Factory Java class to use.
For example, |
Custom JMS topic attributes |
Enter additional attributes for the resource, using the format:
|
Description |
Description for this JMS topic. |
Update action |
Required. Specify the update action to take when a resource element with the same JNDI name exists:
|
CreateOrUpdateMailSession
Adds a new JMS Mail Session or updates an existing JMS Mail Session based on the update action.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Virtual hostname |
Required. The hostname of the Tomcat server or the virtual host to deploy the application. |
Request URL context path |
Required. The URL context path where Tomcat serves the application. |
JNDI name |
Required. The JNDI name for this mail session. It should be unique for context. |
SMTP host |
Required. The server that provides SMTP service for your network. |
Description |
Description for this mail session resource element. |
Update action |
Required. Specify the update action to take when a resource element with the same JNDI name exists:
|
DeleteResource
Removes any of these resources - Connection Factory, JMS Queue, JMS Topic, or Mail Session.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Virtual hostname |
Required. The hostname of the Tomcat server or the virtual host to deploy the application. |
Request URL context path |
Required. The URL context path where Tomcat serves the application. |
JNDI name |
Required. The JNDI name of the resource delete. |
DeployApp
Deploys an application into the Tomcat server.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Context configuration path |
The context configuration file path. |
Context path |
Required. The context path to use. The context path is the name after the slash, by which your application is accessible. |
Update application |
Select if the existing application in the supplied context path must be overridden. |
WAR file/exploded directory path |
The path to the WAR file or exploded directory to upload to the server.
If this parameter is left empty, the plugin looks into the
|
DeployApplication
Deploys an application into the Tomcat server using context files.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Application WAR file location |
Required. The absolute path of the web application WAR file to deploy.
For example, |
Request URL context path |
Required. The URL context path where Tomcat serves the application.
For example, if Tomcat serves the application at |
Virtual hostname |
The hostname of the Tomcat server or the virtual host to deploy.
If this field is left empty, the application is deployed to the Tomcat default host (localhost).
A warning is returned if the provided name is not defined in the |
Host application directory location |
The pathname of a directory where web applications for this host are located
(Tomcat refers to this directory as the |
Web application context element |
The full XML content for the
For more information about possible attributes, refer to the Tomcat documentation. |
Update action |
Specify if Tomcat should override and deploy over an existing deployment.
|
Server restart options |
Specifies if the server should be restarted.
|
DeployConfigurationFile
Deploys a specified configuration file to an appropriate destination in the Tomcat server.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Destination filepath |
Required. The absolute path where the configuration XML file is copied to. |
Local filepath |
The absolute path where the configuration XML file is copied from. |
Configuration file content |
XML content for the configuration file to deploy.
If |
Overwrite |
Required. Specify the overwrite action taken if the file already exists in the destination:
|
DeployLibraryFile
Deploys a specified library file to an appropriate destination in the Tomcat server.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Destination filepath |
Required. The absolute path where the deployed library file generates after a procedure run. |
Local filepath |
Required. The absolute path to a local file to deploy. |
Overwrite |
Required. Specify the overwrite action to take if the file already exists in the destination. |
RemoveDatasource
Removes a datasource resource declaration from the Tomcat context.
Input parameters
Parameter | Description |
---|---|
Context configuration path |
Required. The absolute path of the |
Datasource name |
Required. The name of the datasource. For example, |
RunTomcatManager
Runs the Tomcat Manager in a free mode.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Command: |
Required. The command passed to the Tomcat Manager. For example, |
Parameters: |
Required. Provide additional parameters received by the Tomcat Manager.
Enter as URL parameters. For example, |
ShutdownServer
Shuts down the Tomcat server.
Input parameters
Parameter | Description |
---|---|
Catalina path |
The absolute path to Catalina home to locate the |
Shutdown script path |
Required. The absolute path to the shutdown server script, including the filename and extension.
For example, |
StartApp
Starts an application on the Tomcat server.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Context path |
Required. The context path to use. The context path is the name after the slash, by which your application is accessible. |
Health check timeout |
The health check timeout. Defines the maximum time, in seconds, the job tries to check the application. |
StartServer
Starts the Tomcat server.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Catalina path |
The absolute path to Catalina’s home to locate the |
Startup script path |
Required. The absolute path to the startup server script, including the filename and extension.
For example, |
Health check timeout |
The health check timeout. Defines the maximum time, in seconds, the job tries to check the server. |
UndeployApplication
Undeploys an application from the Tomcat server, removing deployment files and the context file.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Request URL context path |
Required. The URL context path where Tomcat serves the application.
For example, if Tomcat should serve the application at |
Host application directory location |
The pathname of a directory where web applications for this host are located
(Tomcat refers to this directory as the |
Virtual hostname |
The hostname of the Tomcat server or the virtual host to deploy.
If this field is left empty, the application is deployed to the Tomcat default host (localhost).
A warning is returned if the provided name is not defined in the |
Specific deployment files |
A comma-separated list of absolute paths to remove during
undeployment operation. If specified, the procedure removes the context XML file
with the specified Request URL context path and any given file paths. If left empty,
the procedure reads the |
Server restart options |
Specifies if the server should be restarted.
|