CruiseControl.Net Build Publisher - Only publish compiled files

Posted by FlySwat on Stack Overflow See other posts from Stack Overflow or by FlySwat
Published on 2008-08-22T17:53:24Z Indexed on 2010/03/27 9:53 UTC
Read the original article Hit count: 832

While setting up CruiseControl, I added a buildpublisher block to the publisher tasks:

<buildpublisher>
  <sourceDir>C:\MyBuild\</sourceDir>
  <publishDir>C:\MyBuildPublished\</publishDir>
  <alwaysPublish>false</alwaysPublish>
</buildpublisher>

This works, but it copies the entire file contents of the build, I only want to copy the DLL's and .aspx pages, I don't need the source code to get published.

Does anyone know of a way to filter this, or do I need to setup a task to run a RoboCopy script instead?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about build-process