I am creating a Jenkins server to create .NET projects. We use Visual Studio Web.config transformations to convert our configuration files for each environment (Dev1, Dev2, QA and Release). I use the following command line arguments in my MSBuild command and work with conversions:
/p:Configuration=Dev1;DeployOnBuild=true;DeployTarget=Package;_PackageTempDir=..\..\deploy\current\Dev1
The problem is that I need to rebuild the solution for each environment, and some of the solutions are quite large and require some time to create. I would only like to build the solution once, and then only invoke conversions for other environments. Does anyone know a way to do this through the MSBuild command command or another way to do this in Jenkins?
source
share