The following plugin provides functionality available through
Pipeline-compatible steps. Read more about how to integrate steps into your
Pipeline in the
Steps
section of the
Pipeline Syntax
page.
For a list of other such plugins, see the
Pipeline Steps Reference
page.
CloudHub Deployer
cloudhubDeployer
: CloudHub Deployment
environmentId
orgId
appName
The application name identifies your application not only in Runtime Manager but also in the public cloudhub.io domain. For example, an application named myapplication is accessible at http://myapplication.cloudhub.io. To avoid domain conflicts, the application name must be globally unique across CloudHub.The application name can contain between 3 and 42 alphanumeric characters (a-z, A-Z, 0-9) and dashes (-). They cannot contain spaces or other characters.
muleVersion
The runtime version must be the same Mule version used to develop your application.
filePath
Workspace-relative path of the artifact file to upload (it should resolve to a single file). Can use wildcards like module/dist/**/*.jar, See the @includes of
Ant fileset for the exact format. Examples: File, like target/my-mule-app.jar or target/**/*.jar : The jar file will be uploaded to cloudhub.
credentialsId
(optional)
Jenkins credentials containing The Anypoint Platform account username and password with sufficient access to perform deployment related activities on CloudHub.
requestMode
(optional)
Type of Operation to perform on CloudHub. CREATE - Deploy/Create new application UPDATE - Update application with new package and settings provided. UPDATE_FILE - Update just the zip/jar file of application, rest all settings ignored. CREATE_OR_UPDATE - Deploy/Create new application(if not already present) or update the existing application. RESTART - Restart the application already present. DELETE - Delete the application.
- Values:
CREATE
, UPDATE
, CREATE_OR_UPDATE
, UPDATE_FILE
, RESTART
, DELETE
region
(optional)
If you have global deployment enabled on your account, you can change the deployment region.
autoScalePolicy
(optional)
Array / List of Nested Object
autoScalePolicyName
(optional)
The auto scaling policy name.
enableAutoScalePolicy
(optional)
id
(optional)
maxScale
(optional)
The maximum number of workers or size of workers for auto scaling. Allowed Values: 0.1, 0.2, 1, 2, 3, 4, 5, 6, 7, 8, 16
minScale
(optional)
The minimum number of workers or size of workers for auto scaling. Allowed values: 0.1, 0.2, 1, 2, 3, 4, 5, 6, 7, 8, 16
scaleBasedOn
(optional)
The metric based on which auto scaling policy scales. Allowed values: CPU, MEMORY
scaleDown
(optional)
- Type:
class org.jenkinsci.plugins.cloudhubdeployer.data.Scale
scaleDownNextScaleWaitMins
(optional)
Number of minutes to wait before applying new scale down policy.
scaleDownPeriodCount
(optional)
The time in minutes to monitor the CPU/memory for low usage before scaling down.
scaleDownValue
(optional)
The CPU or memory usage below which scale down policy will take effect.
scaleType
(optional)
The scale type of the auto scaling policy. Allowed values: WORKER_COUNT, WORKER_SIZE
scaleUp
(optional)
- Type:
class org.jenkinsci.plugins.cloudhubdeployer.data.Scale
scaleUpNextScaleWaitMins
(optional)
Number of minutes to wait before applying new scale up policy.
scaleUpPeriodCount
(optional)
The time in minutes to monitor the CPU/memory for high usage before scaling up.
scaleUpValue
(optional)
The CPU or memory usage above which scale up policy will take effect.
autoStart
(optional)
Check this flag to autostart the application after it is deployed
debugMode
(optional)
Use this to log additional details/info from the http requests.
- Values:
ENABLED
, DISABLED
enableAutoScalePolicy
(optional)
envVars
(optional)
you can specify properties (key-value pairs) that the application uses during deployment and while running.
Array / List of Nested Object
key
(optional)
value
(optional)
ignoreGlobalSettings
(optional)
If checked settings from global configuration will be used that are under manage jenkins.
logLevels
(optional)
You can configure the logging level (DEBUG, WARN, ERROR, or INFO) for the application
Array / List of Nested Object
levelCategory
(optional)
- Values:
DEBUG
, WARN
, ERROR
, INFO
packageName
(optional)
loggingNgEnabled
(optional)
Check this if you want to use your own logging solution using Log4j configuration.
monitoringAutoRestart
(optional)
CloudHub automatically restarts your application when the monitoring system discovers an issue.
monitoringEnabled
(optional)
Use Anypoint Monitoring and Visualizer for Mule applications running on supported versions of Mule.
objectStoreV1
(optional)
Object Store v2 is enabled by default in Mule 4. In Mule 3, select this option to use Object Store v1.
persistentQueues
(optional)
You can use persistent queues on your application to store data in an input queue to disk. Persistent queues protect against message loss and enable you to distribute workloads across a set of workers.
persistentQueuesEncrypted
(optional)
If you enable persistent queues, you can optionally encrypt the data stored in the input queue on disk.
timeoutConnection
(optional)
Max time to try before failing the request.
timeoutResponse
(optional)
Max time to wait for response before failing the request.
verifyDeployments
(optional)
Verify if API is stated after deployment.
verifyIntervalInSeconds
(optional)
workerAmount
(optional)
No of workers to run for API.
workerCpu
(optional)
Compute Capacity for each worker(vCores). Check MuleSoft Documentation for available sizes(
worker-size-and-vcores). Example Values :- 0.1, 2 or 16
workerMemory
(optional)
Heap memory (Or Ram) for each worker. Check MuleSoft Documentation for available sizes (
worker-size-and-vcores. Example Values :- "500 MB", "1.5 GB" or "32 GB"
workerType
(optional)
Type of worker to use "Micro", "Small", "Medium" or "Large". Check MuleSoft Documentation for additional details.
workerWeight
(optional)
Weight for worker type. Check MuleSoft Documentation for available sizes(
worker-size-and-vcores). Example Values :- 0.1, 0.2 or 1
Was this page helpful?
Please submit your feedback about this page through this
quick form.
Alternatively, if you don't wish to complete the quick form, you can simply
indicate if you found this page helpful?
See existing feedback here.