Updated on 2026-01-21 GMT+08:00

Selecting a Deployment Source

You can select the software package path; or download the software package corresponding to the build record from Artifact to the target environment.

Configuring Deployment Actions

  1. Create an application by referring to Creating an Application.
  2. On the Deployment Actions page, add this deployment action based on the service scenario.
  3. Configure the action using the parameters described in the table below.

    • If Source is set to Artifact, the software package is downloaded according to the release repository address provided by the user during deployment. For details about the parameter configuration, see Table 1.
    • If Source is set to Build task, the build output uploaded to the artifact repository is downloaded during deployment. For details about the parameter configuration, see Table 2.
    Table 1 Configuration parameters when Artifact is the source

    Parameter

    Description

    Action Name

    Custom action name. Enter 1 to 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./()

    Source

    Select Artifact.

    Environment

    Deployment object. Select an environment whose resource type is host cluster.

    Software package

    Select a software package to be deployed from the Artifact.

    You can either select a software package from the artifact repository or enter its download address in the artifact repository.

    Download Path

    Path for downloading the software package to the target host.

    Action Control

    Whether to enable the settings.

    • Keep running on failure: Continue the task even if this action fails.
    • Execute this action with the sudo permission: Use the sudo permission to deploy this action.
    Table 2 Configuration parameters when Build task is the source

    Parameter

    Description

    Action Name

    Custom action name. Enter 1 to 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./()

    Source

    Select Build task.

    Environment

    Deployment object. Select an environment whose resource type is host cluster.

    Build Task

    Target build task. If there is no build task, create one.

    Artifact Filtering Mode

    Build version and Build branch are available.

    Build No.

    Sequence number of the target build task.

    If Build No. is set to Latest, the latest build uploaded to the artifact repository is downloaded during deployment.

    Download Path

    Path for downloading the software package to the target host.

    Action Control

    Whether to enable the settings.

    • Keep running on failure: Continue the task even if this action fails.
    • Execute this action with the sudo permission: Use the sudo permission to deploy this action.

Helpful Links

If you encounter any problem during deployment, see Selecting Deployment Sources.