we are using CruiseControl.NET for our build process and in ccnet.config, I want to exclude change开发者_运维问答s to a particular directory and it's children from triggering that project's build, but what I've tried keeps triggering the project's build.
Example repo
- trunk/
- foo/
- index.html
- ignoreme/
- index.html
- bar/
- foo/
- branches/
- tags/
Example ccnet.config
<sourcecontrol type="filtered">
<sourceControlProvider type="svn">
<trunkUrl>$(RootUrl)/trunk</trunkUrl>
<autoGetSource>true</autoGetSource>
</sourceControlProvider>
<exclusionFilters>
<pathFilter>
<pattern>/ignoreme/**</pattern>
</pathFilter>
</exclusionFilters>
</sourcecontrol>
Committing anything into the ignoreme directory should not trigger this project. What should the pattern be (existing: /ignoreme/**
)?
Thank you.
Found the working pattern:
/trunk/ignoreme/**/*.*
Not a direct answer, but here's a simple alternative -
Use Interval trigger with global SVN update, and then use FileSystem trigger in other projects, referencing needed folders only.
HTH
精彩评论