Reputation: 730
We have an ASP.NET MVC project setup as a Jenkins build project where the directory contents generated by running a publish profile are saved into an Artifactory build. That one Artifactory build is supposed to be good for any environment (at the moment we have to exclude web.config from this build given this requirement).
If we had all of the web.config transformations available in the Artifactory build at the same time-- each under its own file-- then we could have the Jenkins deployment project copy the appropriate file over web.config on the destination server.
Can this be done? Is there a better way to do this?
Upvotes: 0
Views: 192
Reputation: 22893
Being an expert on Artifactory, but not on asp.net, I am not sure what web-config
is, but assuming it's a text file, you have number of options to transform it in Artifactory:
Upvotes: 1