Sitecore CI & CD Deployment Tool

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.

Cheetah1

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

cheetah2

SlowCheetah automatically create the .CI_Release file.

Preview Transform

cheetah3

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

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.