2

we are using CruiseControl.NET for our build process and in ccnet.config, I want to exclude changes 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/
  • 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.

Paul DelRe
  • 4,003
  • 1
  • 24
  • 26

2 Answers2

2

Found the working pattern:

/trunk/ignoreme/**/*.*
Paul DelRe
  • 4,003
  • 1
  • 24
  • 26
0

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

Hertzel Guinness
  • 5,912
  • 3
  • 38
  • 43