For CI and Deployment automation of Sitecore, we have to used multiple tools.
Below are the few list of tools. In this i will explain few tool and how this tool help you to achieve the automation in CI.Tools:-
- TDS/Unicorn/Sitecore Courier
- TFS/Git
- Team City/ Ms Build
- Bamboo/Octopus/ Release server
- Nuget Server
- Slow Cheetah, PowerShell
Slow Cheetah
This package enables you to transform your app.config or any other XML file based on the build configuration. It also adds additional tooling to help you create XML transforms
Installation:-
To install SlowCheetah, run the following command in the Package Manager Console
PM> Install-Package SlowCheetah
Add Transform
The add-in adds the following menu command to any XML file for supported project types.
It will add the 3 file .debug,.publish, .release
This will be environment specific change. If you want to add one more environment such as Sitecore CD Environment. You need to Right Click on Solution -> Configuration manager
Add New Configuration
SlowCheetah automatically create the .CI_Release file.
Preview Transform
cheat Code
<compilation xdt:Transform=”RemoveAttributes(debug)” />
Above line will remove the Debug=”true” from the .config file
<add name="MyDB" connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
Above line replace the connectionString by matchine the value in “Name” attribute.
Refrences:-
http://sitecoreunleashed.blogspot.in/2013/11/managing-configuration-files-with.html