Help Center/ ServiceStage/ User Guide/ Continuous Delivery/ Managing Pipelines/ Configuring a Pipeline Triggering Policy
Updated on 2024-09-27 GMT+08:00

Configuring a Pipeline Triggering Policy

This section describes how to configure a pipeline triggering policy so that a pipeline can be started when the configured triggering policy is met.

Prerequisites

The pipeline is not in the Running state. To view the pipeline status, see Viewing Pipeline Details.

Configuring a Pipeline Triggering Policy

  1. Log in to ServiceStage.
  2. Choose Continuous Delivery > Pipeline.
  3. Select a pipeline, choose More > Triggering Policy, and set the parameters by referring to the following table.

    Triggering Policy

    Mode

    Description

    Manual

    -

    Manually start the pipeline.

    1. Set Type to Manual.
    2. Click OK.

    Scheduled

    Single-time

    Set the triggering time to trigger a single-time pipeline.

    1. Set Type to Scheduled.
    2. Disable Periodic Triggering.
    3. Set Triggered.
    4. Click OK.

    Periodic

    Set the triggering time segment, interval, and period to implement periodic pipeline triggering.

    1. Set Type to Scheduled.
    2. Enable Periodic Triggering.
    3. Set Period, Triggered, Effective Time, and Period.
    4. Click OK.

    Automatic

    -

    Only pipelines whose build job source is source code support automatic triggering.

    Set the code source, corresponding namespace, repository name, and branch. When code is submitted to the corresponding branch of the source code repository, the pipeline is automatically triggered. You can set a maximum of eight trigger sources.

    1. Set Type to Automatic.
    2. Select Source Code Repository to push the code to the selected source code repository.
    3. Click OK.