Open integration

更新时间:
复制 MD 格式

Alibaba Cloud DevOps Codeup supports multiple open integration methods, including OpenAPI, Webhooks, and Alibaba Cloud DevOps Flow. Use these integrations to automate workflows, respond to code events, and improve code quality.

API

Codeup exposes a set of API operations that allow third-party systems to remotely manage code repositories, including creating, updating, and deleting repositories. For more information, see API Overview.

Webhooks settings

Feature description

Webhooks are a lightweight notification mechanism that calls a predefined URL when specific events occur. In Codeup, you can use Webhooks to automate CI/CD processes, perform image backups, and trigger deployments.

Procedure:

  1. Access the settings page of Webhooks: As an administrator of a code repository, go to the Codeup homepage and click the name of the repository you want to manage. In the left-side navigation pane, click Settings. On the Settings page, click Webhooks.

  2. Create a Webhook: Click Create Webhook in the upper-right of the Webhooks page. Specify the URL and Secret Token parameters.

  3. Specify a trigger: Specify the Trigger parameter. Valid values: Push Event, Tag Push Event, Comments, and Merge Request Event.

  4. Specify a description (optional): Specify a description for easier Webhook maintenance.

  5. Save settings: Confirm the settings and click OK to complete the Webhook creation.

For specific operation guidelines, see Webhook settings.

Integrate a pipeline

Associate a pipeline

Flow provides end-to-end CI/CD capabilities. By integrating your Codeup project with a Flow pipeline, you can automate build, test, and deployment processes to accelerate delivery.

Association methods:

  • Associate a destination code repository: Initiate the pipeline directly within an existing code repository.

  • Create a new association on the Flow homepage: Create new associations on the Flow management interface.

For more information, see Connect a Codeup repository to a Flow pipeline.

Extend code detection by using a pipeline

In addition to built-in code detection, Codeup lets you define custom automated checks through pipelines. This allows teams to enforce their own review standards while maintaining code robustness and security.

Implementation methods:

  • Automatically trigger code detection jobs: Activate the pipeline automatically when a merge request is created or updated.

  • Define code detection rules: Use a predefined or custom pipeline template to establish detailed detection strategies.

  • Set branch protection: For key branches, ensure that a series of automated checks are passed before merging.

  • Configure test jobs: Make sure that the pipeline properly executes all critical tests.

For detailed operation steps, see Extend code detection through pipeline.

These open integration features help you streamline development workflows, accelerate iterations, and deliver high-quality code.