Create an update push (H5 applications)

更新时间:
复制 MD 格式

Create a push task to perform a canary or full release of your H5 application.

Prerequisites

Procedure

  1. Log on to the EMAS console, select the Cloud Release product, and then click Enter.

  2. On the console page for your application, click the Release Ticket List tab.

  3. In the Related operations column for the release ticket, click View Details to go to the Create Update Push page.

  4. Click Create Update Push to open the Create Update Push panel.

    1. Configure the Message Sending settings. For more information, see Configure message sending.

    2. Configure the Basic policy. For more information, see Configure the basic policy.

    3. Configure the Associated Client Version settings. For more information, see Associate a client version.

    4. Configure the Confirm Publish Target settings. For more information, see Confirm Publish Target.

Configure the sent message

  1. In the Create Update Push panel, configure the Message Sending settings.

    image

    Option

    Description

    Version number

    Defaults to the version number of the current release pipeline.

    Release type

    Set the release type for this update push. Options are Canary release and Full release.

  2. Click Next to configure the Basic policy.

Configure the basic policy

  1. In the Create Update Push panel, configure the Basic policy settings.image

    Option

    Description

    Release type

    Number of devices to notify

    The number of devices to receive this update push.

    Canary release

    Task start time

    The start time for the update push task.

    • Canary release

    • Full release

    Task end time

    If you set Release type to Canary release, you must set an end time for the update push task.

    Canary release

    Enable preload

    Preloads resources to local devices when the application starts. This reduces the time required to load resources at runtime.

    Full release

    Trigger environment

    The network environment that triggers resource preloading. Options are Wi-Fi only, Mobile network, and All networks.

    Preload priority

    The order for loading H5 resources when network bandwidth is limited. Resources with a higher priority are preloaded first.

  2. Click Next to configure the Associated Client Version settings.

Associate the host application (canary release)

Note

To perform a canary release of a client application, you must associate it with a host application.

  1. In the Create Update Push panel, configure the Associated Client Version settings. Select the client application in the current project to which you want to release the H5 application.

    image

  2. Click Next to confirm the release objects.

Confirm the release objects

  1. In the Create Update Push panel, confirm the settings in the Confirm Publish Target section.

    image

  2. Click OK.

View task details

On the update push list page, find the task. In the Related operations column, click View details to view the task details.