Have you tried a Filtered source block?
<filtered>
<sourceControlProvider type="vsts">
<autoGetSource>true</autoGetSource>
<applyLabel>false</applyLabel>
<server>http://tfsserver:8080</server>
<project>$/FolderA</project>
<workspace>BuildWorkspace</workspace>
<deleteWorkspace>true</deleteWorkspace>
</sourceControlProvider>
<exclusionFilters>
<pathFilter>
<pattern>$/FolderA/Archive/**/*.*</pattern>
</pathFilter>
</exclusionFilters>
</filtered>
See also,
http://confluence.public.thoughtworks.org/display/CCNET/Filtered+Source+Control+Block
Cheers,
Jay
On Jul 21, 4:00 pm, Michael Guiney <[email protected]> wrote:
> Hi All,
>
> I've been trying to find documentation on creating plugins for ccnet, with
> no luck. We have some plugins that we use to ignore changes to certain files
> e.g. if some checks in a change to a .exe then we ignore this as we only
> want to rebuild when the source code is modified. FYI - We are using TFS.
>
> The problem I am trying to solve is when downloading the source for a
> project, to not get folders of a particular name as we know these do not
> contain source code (they actually contain archives of build outputs).
> Unfortunately, we dont have the option to locate the archive somewhere else.
>
> i.e. it my folder structure is like this
>
> FolderA
> -- Archive
> -- FolderAA
> -- FolderAB
>
> We monitor FolderA for changes and everything in this folder is synched and
> then built. I want to not get the Archive folder, as this should speed up
> the builds.
>
> If someone has a link to the docs or any suggestions, it would be much
> appreciated.
>
> Thanks,
> Mike