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.
EDAS Plugin
edasClient
: Deploy to EDAS
extensions
Array / List of Nested Choice of Objects
deployEDASApplication
namespace
The EDAS namespace, please check with ListUserDefineRegion
credentialId
group
The deploy group ID of EDAS application. Set this parameter to "all" if you want to deploy the application to all groups
appId
The ID of the EDAS Application that you want to deploy
targetObject
The path of file to deploy
batch
(optional)
The batch of this deployment
batchWaitTime
(optional)
The wait time between batches
endpoint
(optional)
releaseType
(optional)
The release type of batch deployment
versionDescriptionFormat
(optional)
Sets the description of the version to be published. Jenkins environment variables are supported such as ${GIT_BRANCH} - ${BUILD_TAG}
versionLabelFormat
(optional)
How to set the version label? For instance, for "${GIT_COMMIT}-${BUILD_TAG}", and with "Key Prefix" set to "myapp/builds/myapp-prod-env/", the S3 Object Key is set to myapp/builds/myapp-prod-env/4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41.zip and the version Label will be 4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41
InsertEDASApplication
namespace
The EDAS namespace, please check with ListUserDefineRegion
credentialId
applicationName
The EDAS Application Name to Create
targetObject
The path of file to deploy
clusterId
The ID of cluster to deploy EDAS application
packageType
The package type of application (e.g. : "war")
ecuInfo
The ID of the Elastic Compute Unit (ECU) to deploy the application. Use ListScaleOutEcu to get ecu id
buildPackId
(optional)
The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.
endpoint
(optional)
healthCheckUrl
(optional)
The URL for health checking of the application
versionDescriptionFormat
(optional)
Sets the description of the version to be published. Jenkins environment variables are supported such as ${GIT_BRANCH} - ${BUILD_TAG}
versionLabelFormat
(optional)
How to set the version label? For instance, for "${GIT_COMMIT}-${BUILD_TAG}", and with "Key Prefix" set to "myapp/builds/myapp-prod-env/", the S3 Object Key is set to myapp/builds/myapp-prod-env/4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41.zip and the version Label will be 4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41
deployEDASK8sApplication
namespace
The EDAS namespace, please check with ListUserDefineRegion
credentialId
appId
The ID of the EDAS Application that you want to deploy
targetObject
The path of file to deploy. Local file, remote url and image url permitted
image
args
(optional)
JsonArray of command arguments.(e.g.: [{"argument":"-c"},{"argument":"test"}])
cpuLimit
(optional)
CPU limit, unit: millicores
cpuRequest
(optional)
CPU request, unit: millicores
edasContainerVersion
(optional)
The version of EDAS container. Required when deploy war package
endpoint
(optional)
envs
(optional)
The jsonArray of envs.(e.g.: [{"name":"testkey","value":"testValue"}]) Set [] to clear settings
jdk
(optional)
liveness
(optional)
e.g.: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}. Set empty of {} to clear, "unchanging" means no changing
memoryLimit
(optional)
memoryRequest
(optional)
postStart
(optional)
e.g.: {"exec":{"command":"cat","/etc/group"}}. Set empty of {} to clear, "unchanging" means no changing
preStop
(optional)
e.g.: {"exec":{"command":"cat","/etc/group"}}. Set empty of {} to clear, "unchanging" means no changing
readiness
(optional)
e.g.: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}. Set empty of {} to clear, "unchanging" means no changing
replicas
(optional)
startupCommand
(optional)
updateStrategy
(optional)
e.g.: {"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}. Please check usage from pop api DeployK8sApplication
versionLabelFormat
(optional)
How to set the version label? For instance, for "${GIT_COMMIT}-${BUILD_TAG}", and with "Key Prefix" set to "myapp/builds/myapp-prod-env/", the S3 Object Key is set to myapp/builds/myapp-prod-env/4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41.zip and the version Label will be 4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41
webContainer
(optional)
The version of tomcat(e.g. "Apache Tomcat 7.0.91"). Required when deploy war package
insertEDASK8sApplication
credentialId
namespace
The EDAS namespace, please check with ListUserDefineRegion
clusterId
The ID of cluster to deploy EDAS application
k8sNamespace
The K8s namespace where application to deploy. (e.g. : "default")
applicationName
The EDAS Application Name to Create
targetObject
The path of file to deploy. Local file, remote url and image url permitted
packageType
jdk
args
(optional)
JsonArray of command arguments.(e.g.: [{"argument":"-c"},{"argument":"test"}])
cpuLimit
(optional)
CPU limit, unit: millicores
cpuRequest
(optional)
CPU request, unit: millicores
descFormat
(optional)
edasContainerVersion
(optional)
The version of EDAS container. Required when deploy war package
endpoint
(optional)
envs
(optional)
The jsonArray of envs.(e.g.: [{"name":"testkey","value":"testValue"}]) Set [] to clear settings
liveness
(optional)
e.g.: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}. Set empty of {} to clear, "unchanging" means no changing
memoryLimit
(optional)
memoryRequest
(optional)
postStart
(optional)
e.g.: {"exec":{"command":"cat","/etc/group"}}. Set empty of {} to clear, "unchanging" means no changing
preStop
(optional)
e.g.: {"exec":{"command":"cat","/etc/group"}}. Set empty of {} to clear, "unchanging" means no changing
readiness
(optional)
e.g.: {"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}. Set empty of {} to clear, "unchanging" means no changing
replicas
(optional)
startupCommand
(optional)
versionLabelFormat
(optional)
How to set the version label? For instance, for "${GIT_COMMIT}-${BUILD_TAG}", and with "Key Prefix" set to "myapp/builds/myapp-prod-env/", the S3 Object Key is set to myapp/builds/myapp-prod-env/4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41.zip and the version Label will be 4b5f7669b3376a1ce504bf7ef8bf7aeee9d21746-myjob-41
webContainer
(optional)
The version of tomcat(e.g. "Apache Tomcat 7.0.91"). Required when deploy war package
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.