On this page

Show all

Policies and Pipelines

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

Tenant-level and project-level policies can be used as pass conditions to control pipeline execution.

Tenant-level policies can be applied to pipelines of all projects under the current tenant, and project-level policies can be applied to all pipelines under the current project.

  1. Select a pipeline of a project and click Edit. In the pipeline stage, click Pass Conditions. On the displayed page, click Add to add a pass condition.
  2. After the condition is added, select a required policy on the right and click OK.
  3. After the pass condition is configured, run the pipeline. During pipeline execution, the configured policy can be invoked to determine whether to exit.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback