gpt4 book ai didi

svn - 如何在 Jenkins 结账时排除某种类型的文件?

转载 作者:行者123 更新时间:2023-12-05 01:34:45 24 4
gpt4 key购买 nike

我想在 Jenkins 中使用 SVN 结账时排除 *.zip 、 .xls 、.pdf 、 *.doc 、 *.exe ... 。

最佳答案

你试过了吗排除区域 ?点击可以找到设置高级... 在 SVN 配置部分。

If set, and Jenkins is set to poll for changes, Jenkins will ignore any files and/or folders in this list when determining if a build needs to be triggered.

Each exclusion uses regular expression pattern matching, and must be separated by a new line.

/trunk/myapp/src/main/web/.*\.html
/trunk/myapp/src/main/web/.*\.jpeg
/trunk/myapp/src/main/web/.*\.gif

The example above illustrates that if only html/jpeg/gif files have been committed to the SCM a build will not occur.

关于svn - 如何在 Jenkins 结账时排除某种类型的文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14379002/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com