apache / apache/devlake

[Feature][Azure DevOps Plugin] Include pipeline run names in deployment regex matching

未关闭
#8,653 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
component/plugins type/feature-request
主要语言
Go
星标
3.1k
派生
808
平均合并
1 天 8 小时
30 天内合并 PR
49

描述

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.

### Use case

A DevOps team uses Azure DevOps (ADO) pipelines to deploy applications.
The deployment information is only clear from the run name (e.g., "Production Deploy - v1.2.3") rather than the pipeline or job names.
The team wants DevLake to accurately detect deployments by **matching regex patterns against run names**, not just pipeline and job names.

### Description

Extend DevLake’s deployment detection logic for Azure DevOps to **include run names in regex matching**.

This enhancement will allow users to specify patterns that identify deployments based on the run name, improving detection accuracy when pipeline or job names are insufficient.

### Related issues

_No response_

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位 Azure DevOps 部署检测逻辑,以及针对管道名称和作业名称的正则表达式匹配逻辑。跟踪运行名称在那里是如何表示的,并更新匹配范围,使部署模式能够识别运行名称;当基于运行名称的部署能够按描述被检测到时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, go
领域
devops
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。