Help Center/ CodeArts Pipeline/ User Guide/ Extensions/ Extensions and Policies
Updated on 2024-05-29 GMT+08:00

Extensions and Policies

Some extensions can be used for policies, which will be applied to pass conditions.

You can configure rules for the following extensions:

  • Check: calls CodeArts Check capabilities and returns the total number of issues (critical/major/minor/suggestion).

  • Build: calls CodeArts Build capabilities and returns the case pass rate, total cases, and branch coverage of Maven unit tests.

  • TestPlan: calls CodeArts TestPlan capabilities and returns the API test pass rate.

    Custom extensions configured with the metrics widget can also be used to configure rules.