Help Center/ CodeArts Deploy/ User Guide/ Creating and Deploying an Application Using a Preset Template/ Creating and Deploying an Application Using the Spring Boot Deployment Template
Updated on 2024-09-04 GMT+08:00

Creating and Deploying an Application Using the Spring Boot Deployment Template

Deploy a Spring Boot Java background application on the host and start the service.

Ensure that the JDK has been installed on the target host. If the JDK has been installed, remove the Install JDK action from the template.

The related deployment actions are as follows.

  1. Install JDK.
  2. Select a deployment source.
  3. Stop Spring Boot.
  4. Start Spring Boot.
  5. Perform health test through URLs.

Table 1 describes the parameters to be set in the template.

Table 1 Template parameters

Parameter

Description

host_group

Target environment where the application is deployed.

package_url

Software package download link. To obtain it, go to the Artifact > Release Repos page.

service_port

Port number of a Spring Boot application. The default value is 8080.

package_name

Name of the Spring Boot application release package.

NOTE:

The name does not contain the file name extension.