Create Glassfish plugin procedures

2 minute readExtensibilityDeveloper productivity

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 Input parameters  Configuration name field may behave differently in the CloudBees CD/RO UI. For more information, refer to Differences in plugin UI behavior.

CheckServerStatus

Checks the status of the specified server.

Input parameters

Table 1. CheckServerStatus input parameters
Parameter Description

Configuration name

Required. The previously defined configuration for the plugin.

Use credentials

Indicate if credentials must be used.

DeployApp

Deploy an application into Glassfish server.

Input parameters

Table 2. DeployApp input parameters
Parameter Description

Configuration name

Required. The previously defined configuration for the plugin.

Physical location of the admin script

Required. Absolute physical path of the domain script for the asadmin utility. For example, /opt/glassfish4/bin/.

Path to the application to deploy

Required. Application path to deploy.

Deployment name

Unique name for deployment. If a Deployment name is not provided, the application file name is used as the default value.

StartServerDomain

Starts a Glassfish domain.

Input parameters

Table 3. StartServerDomain input parameters
Parameter Description

Configuration name

Required. The previously defined configuration for the plugin.

Physical location of the admin script

Required. Absolute physical path of the domain script for the asadmin utility. For example, /opt/glassfish4/bin/.

StopServerDomain

Stops a Glassfish domain.

Input parameters

Table 4. StopServerDomain input parameters
Parameter Description

Configuration name

Required. The previously defined configuration for the plugin.

Physical location of the admin script

Required. Absolute physical path of the domain script for the asadmin utility. For example, /opt/glassfish4/bin/.

UndeployApp

Undeploy the specified application.

Input parameters

Table 5. UndeployApp input parameters
Parameter Description

Configuration name

Required. The previously defined configuration for the plugin.

Physical location of the admin script

Required. Absolute physical path of the domain script for the asadmin utility. For example, /opt/glassfish4/bin/.

Deployment name

Required. Unique name of the application to undeploy.