dosubot[bot] commented on issue #8443: URL: https://github.com/apache/incubator-devlake/issues/8443#issuecomment-2890745461
<!-- Answer --> To configure DevLake for Azure Pipelines hosted in GitHub with builds running in Azure DevOps, you can use regular expressions (regex) to define deployments in the scope configuration. Here's how you can set it up: 1. **Configuration Support**: DevLake supports your use case where Azure Pipelines are hosted in GitHub, and the builds are executed via Azure DevOps. You can configure DevLake to recognize these pipelines by setting appropriate regex patterns in the transformation rules. 2. **Scope Configuration Regex**: Use regex to match the names of Azure pipelines or job display names associated with the pipeline run. For example, if your deployment pipeline is named 'build-and-push-image', you can use the regex `(push-image)`. To ensure case insensitivity, include `(?i)` before the regex, like `(?i)(push-image)`. - **Production Environment**: For classifying deployments within the production environment, use a regex that matches the pipeline run's name or any job display names. For instance, if the deployment pipeline is named 'build-to-prod', you can use the regex `(prod)`, and for case insensitivity, use `(?i)(prod)`. This setup is particularly useful for measuring DORA metrics, as it allows you to specify conditions under which a pipeline run is marked as a 'Production Deployment' <sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/docs/Configuration/AzureDevOps.md)</sup><sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v1.0/Configuration/AzureDevOps.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/1af8f162-a5c1-4221-919d-3baee04826cd?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/1af8f162-a5c1-4221-919d-3baee04826cd?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/1af8f162-a5c1-4221-919d-3baee04826cd?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/1af8f162-a5c1-4221-919d-3baee04826cd?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1af8f162-a5c1-4221-919d-3baee04826cd?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/1af8f162-a5c1-4221-919d-3baee04826cd?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1af8f162-a5c1-4221-919d-3baee04826cd?feedback_type=other)</sup> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org