views:

493

answers:

3

Hi all. I'm looking for a way to ignore changes under specified SVN folders in Hudson. It's the same thing as exclude folders in TeamCity and filters in CC.Net. I haven't found any configuration option under SVN GUI configuration.

Thanks in advance!

+1  A: 

I did it by going to the workspace and running this command

svn propedit svn:ignore ./ignore_this_dir
sal
+6  A: 

In Hudson 1.334, in the build configuration, under Subversion -> Advanced..., there are three Exclusion boxes. If it's polling for changes, Hudson will ignore changes that match these exclusions when determining whether to trigger a build. You can tell Hudson to ignore files/folders (Excluded Regions), commits by particular users, or files with a particular subversion revprop.

Dave Bacher
+1  A: 

I have somewhat the same problem. Have a project that is organizationally under a main project, but is not to be build with the main project. It is sat up as a standalone build on Hudson.

Illustration:

main
    sub1
    sub2
    sub3

So I thought that I could just add "/trunk/sub3/.*" in the "Excluded regional" field under the "Source Code Management" in the Hudson? But this does not seem to have any effect. The main project builds when I do changes under the sub3 project. Thought this was the intention of the "exluded regions" field.

Espen
I have the same issue. Not sure why my ignores are not working.
Tim