I use a batch process using this project: https://configgen.codeplex.com/
On Tuesday, April 8, 2014 10:40:09 AM UTC-7, award wrote: > > I apologize if this has already been discussed or resolved in advance; > however, I can't seem to find the answer i'm looking for. Maybe I'm not > asking it correctly. Any who... > > We are using Jenkins to poll subversion, build projects, and run unit > tests. > This is working great! Now we want to add a step of complexity. We want > to > replace values in the Web.Config and App.Config files at different stages. > Here is the most basic example: > > In the Web.Config and App.Configs, there will be certain values which we > will indicate as replaceable tokens. These replaceable tokens should be > replaced by Jenkins when running a Unit Test. For example, in my > Web.Config > file, when the project is built, I will have the following: > > <add key="AuthorizeLogin" value="[AUTH_TOKEN]" /> > > Then, when Jenkins goes to run a unit test, I want a plugin which will go > through and replace the specified tokens to real values. Is there an > existing plugin to do this? Would a plugin which simply replaces the > Web.Config file be of better use? > > > > -- > View this message in context: > http://jenkins-ci.361315.n4.nabble.com/Jenkins-Plugin-for-Web-Config-Replacement-tp4697910.html > > Sent from the Jenkins users mailing list archive at Nabble.com. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
