Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: SVN事件触发的路径匹配规则增加兜底逻辑 #10510

Closed
hejieehe opened this issue Jun 12, 2024 · 0 comments
Closed

feat: SVN事件触发的路径匹配规则增加兜底逻辑 #10510

hejieehe opened this issue Jun 12, 2024 · 0 comments
Assignees
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy kind/enhancement 功能改进特性 todo todo

Comments

@hejieehe
Copy link
Collaborator

问题:部分用户使用SVN事件触发,当代码库出现单次提交超过1000个文件的修改时,工蜂svn webhook仅会保留前1000个文件的修改记录,后续的文件修改记录直接舍弃,此时舍弃的记录可能导致流水线不能被触发

处理:svn webhook 中的paths字段代表本次修改的所有文件的父目录,使用此字段进行兜底匹配

includedPaths paths 匹配结果
/a/b/c ["/a/b/c/d", "dir_a/dir_b/dir_c"] true
/a/b/c ["/a/b/c", "dir_a/dir_b/dir_c"] true
/a/b/c ["dir_a/dir_b/dir_c"] false
@hejieehe hejieehe added kind/enhancement 功能改进特性 area/ci/backend CI 后端issue labels Jun 12, 2024
@hejieehe hejieehe self-assigned this Jun 12, 2024
@bkci-bot bkci-bot added the todo todo label Jun 19, 2024
@bkci-bot bkci-bot added for test Test environment in tencent has been deploy and removed todo todo labels Jul 4, 2024
@mingshewhe mingshewhe added the tested 测试环境通过/test patest passed for test stage label Jul 8, 2024
bkci-bot added a commit that referenced this issue Jul 8, 2024
feat: SVN事件触发的路径匹配规则增加兜底逻辑 #10510
@bkci-bot bkci-bot added for gray UAT environment in tencent has been deploy todo todo and removed for test Test environment in tencent has been deploy tested 测试环境通过/test patest passed for test stage labels Jul 8, 2024
@hejieehe hejieehe added the grayed uat环境测试通过/test passed for uat stage label Jul 9, 2024
@bkci-bot bkci-bot added done Production environment in tencent has been deploy and removed for gray UAT environment in tencent has been deploy grayed uat环境测试通过/test passed for uat stage labels Sep 5, 2024
@bkci-bot bkci-bot closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci/backend CI 后端issue done Production environment in tencent has been deploy kind/enhancement 功能改进特性 todo todo
Projects
None yet
Development

No branches or pull requests

3 participants