To CruiseControl.net How to publish only changed files?

I have a large web project and I would like to post only the files that were changed by the last checkout. What would be the best way to do this?

+2


source to share


2 answers


I found an article that details the process using robocopy. I thought that maybe there was a task in ccnet that did it, but I couldn't find it.



http://msmvps.com/blogs/omar/archive/2008/10/06/asp-net-website-continuous-integration-deployment-using-cruisecontrol-net-subversion-msbuild-and-robocopy.aspx

0


source


It depends on what you are doing. Are you using the script construct? Your best bet is to make your post script its post, you will have a lot more control over it.

There is a Writer Modification job that will create an XML file of detected changes in this assembly. Then you can create your build script and publish only those files.

There is also a revision editor, and the document assumes that you can use read in revision and publish based on that list:



 The ModificationReaderTask can now easily read the modification

      

file (s) made by project one, in its own integration, that they can be used by existing ccnet tasks / publishers for project 2

However, it doesn't make it obvious how you would do it. Perhaps BuildPublisher will use the mod information. This can get you started.

0


source







All Articles