Force rules for build and deployment

Posted by Sazug on Stack Overflow See other posts from Stack Overflow or by Sazug
Published on 2009-11-05T11:28:49Z Indexed on 2010/05/13 15:04 UTC
Read the original article Hit count: 198

Our web project is source-controlled with SVN. It contains MSBuild file to build local, test and production builds. We also use CruiseControl.NET to deploy production and test versions to servers manually (not after every commit).

The question is how to check that if production deployment is being done using CC.NET web project is built using production build (not test or other)? How to force specific steps to be executed when building and deploying to production (like compress JS and CSS, compile with debug="false", etc...)? Now it is possible for every developer make changes in MSBuild file (so he/she can forget to compress JS on production build, etc.).

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about cruisecontrol.net