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 |
API_AssociateIP
Associates an Elastic IP address to an instance.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Instance ID |
Required. The instance to be associated with an IP. |
IP |
Required. The Elastic public IP address to associate to an instance. For example, |
API_AttachVolumes
Attaches a list of volumes to a list of instances.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Device |
Required. The device name that is exposed to the instance. |
List of instances |
Required. The instances the volumes are attached to. |
List of Volumes |
Required. The volumes that are attached to the instances. |
API_CreateImage
Creates a copy of an EBS instance.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Instance |
Required. The instance to duplicate. |
New image name |
Required. Specifies the name for the newly created image. |
New image description |
The description for the new image. |
No reboot |
Required. If not selected (the default setting), Amazon EC2 attempts to cleanly shut down the instance before creating the image and reboots the instance afterward. If selected, Amazon EC2 does not shut down the instance before creating the image and the file system integrity on the created image cannot be guaranteed. |
Results location |
Required. Location to store the results. If not specified, the results are only printed. |
Wait for image? |
If selected, it waits for the image to become available. |
API_CreateTags
Adds or overwrites one or more tags for the specified Amazon EC2 resource(s).
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Resources |
Required. A space-separated list of resource IDs. |
Tags |
Required. A comma-separated list of key values. For example, |
API_DescribeInstances
Describes one or more instances.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Instances |
A list of instances or reservations to list. |
Results location |
Location to store the results. If not specified, the result are only printed and saved to the output parameter. |
API_RunInstances
Provisions one or more EC2 instances and creates resources for them.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
AMI |
Required. The Amazon Image ID (AMI) of the image to deploy. |
Availability zone |
The availability zone you need to launch the instance into. |
Name |
Name for the instance. |
Instance type |
Required. The instance type. For more information, refer to Instance types. |
Subnet ID |
The ID of the subnet to launch the instance(s) into. (For use with VPCs.) |
Security group |
The name of the security group to use for the instance. |
Key name |
The name of the keypair to use for the instance. |
Initiated shutdown behavior |
Used to specify the instance behavior when an OS-level shutdown is performed. Instances can be either terminated or shut down. |
IAM profile name |
If specified, a new instance is associated with the given IAM profile. |
Use private IP? |
If selected, a private IP is used when creating the resource. |
Private IP |
The primary IP address. You must specify a value from the IP address subnet range. If no value is supplied, an IP address from the IP address subnet range is selected. (For use with VPCs.) |
Tenancy |
Each instance you launch into a VPC has a tenancy attribute. This attribute has the following values:
|
User data |
Used to pass extra user data into |
Number of instances |
Specifies the number of instances to start. |
Resource pool |
Add CloudBees CD/RO resources for each instance created and enter the CloudBees CD/RO pool name for the new resource. If left blank, no resource are created. |
Resource port |
If you specified a resource pool name in the Resource Pool field, this port is used when creating the resource. If you specified a resource pool name in the Resource Pool field and no value is specified, port 7800 is used by default when creating the resource. |
Resource workspace |
If you specified a resource pool name in the Resource Pool field, this workspace is used when creating the resource. |
Resource zone name |
The created resource belongs to the specified zone. By default, the default zone is used. |
Ping resource? |
If selected, the resource is pinged after the resource creation. |
Result property sheet |
Property path to store results. |
API_StartInstance
Starts one or more instances.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Instance IDs |
Required. Instance IDs in a newline-separated list. |
Wait for instances? |
If selected, the procedure polls the status of one or more instances and finishes when the instance(s) are stopped. |
Results location |
Location to store the results. If not specified, the results are only printed and saved to the output parameter. |
API_StopInstance
Stops one or more instances.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Instance IDs |
Required. Instance IDs in a newline-separated list. |
Wait for instances? |
If selected, the procedure polls the status of one or more instances and finishes when the instance(s) are stopped. |
API_Terminate
Terminates one or more instances.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Instance IDs |
Required. If this is an instance ID, the instance is terminated. If this is a reservation ID, all instances in the reservation are terminated. Multiple instance IDs are separated by a semicolon. |
Resources |
List of resources to be deleted. |
Wait for instances? |
If selected, the procedure waits until the instances are terminated. |
Execute API Request
Executes custom Query API requests to the specified service that supports Query API (except S3).
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Host |
Host of the AWS service to use.
For example, |
Service name |
Required. Service name to use. For example, |
API version |
Required. API version to use. For example, |
Action |
Required. Action to perform. For example, |
Headers |
A set of headers in |
Query |
Query parameters in |
Path |
Path to use. The default is |
Snap Attached Volume
Creates a new snapshot from a volume attached to an instance. Only creates a snapshot from the first volume found.
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Instance |
Required. Instance ID of a running EC2 instance. |
Results location |
Required. Location to store the results. If not specified, the results are only printed. |
Volume ID |
Required. A semicolon-separated list of volume IDs to snapshot. |