Powershell in CruiseControl.net to backup existing folder before deploying new version of the code

Posted by Rihan Meij on Stack Overflow See other posts from Stack Overflow or by Rihan Meij
Published on 2010-06-08T05:48:15Z Indexed on 2010/06/08 5:52 UTC
Read the original article Hit count: 217

Hi

I would like to zip a bunch of files (.exe and .dll) before I overwrite them with the new build. Is there a simple way to zip files without using some sort of dll?

Just creating a folder with the build number / date time stamp will also work great. How do I pass parameters from the cruise control build process into my Powershell script that will do the work then?

Is this a sustainable way to do things?

Thanks

© Stack Overflow or respective owner

Related posts about powershell

Related posts about continuous-integration