All Products
Search
Document Center

Alibaba Cloud DevOps:Extend code detection by pipelines

Last Updated:May 08, 2025

Codeup supports extending automation detection through pipelines. This topic introduces how to expand detection capabilities through pipelines in merge requests.

Create a detection checkpoint

  1. On the merge request details page, navigate to Merge checks are not configured > Enable Specification Review, and then the Branch Settings page appears.

    高的 - 2024-12-10T155448

  2. Click Create Protection Branch Rule. In the panel that appears, specify Branch, Push Rule, and Merge Rule. Turn on Automated Status Check Before Merge, as indicated in the following figure:

    高的 - 2024-12-10T160148

  3. In the Pipeline Check section, click Create Pipeline.

    高的 - 2024-12-10T160328

  4. In the Select a pipeline template dialog box, select a pipeline template.

    高的 - 2024-12-10T160710

  5. Go to the Edit Pipeline Source page and turn on Enable Code Source Trigger.

    高的 - 2024-12-10T161318

    Select the following options:

    • Submit Code

    • Create/Update Merge Request

    • Enable branch or tag filtering

  6. Specify the parameters of the test jobs and click Save Only in the upper-right corner of the page.

    高的 - 2024-12-10T161515

  7. Go back to the repository page, and navigate to Settings > Branches. In the Create New Protection Branch Rule panel, view the created pipeline for code detection and click OK to complete the detection task creation.

    高的 - 2024-12-10T161841

  8. Select Merge Request. If the merged content is modified, the pipeline will trigger checks. Feedbacks will display in the result page.

    高的 - 2024-12-10T162227