Updated on 2023-11-28 GMT+08:00

Deploying a Spring Boot Application

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

Path of the Spring Boot application release package in Artifact.

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.