Continuous Integration Enabled Disabled

Immform Admin asked on February 1, 2017 13:02

Where in the Config Database is the Continous Integration enabled switch stored,

i.e. How can we programmatically Turn CI on Also How can we programmatically Rebuild repository........ Serialise objects

Many thanks

Jon Marshall

Recent Answers

Michal Samuhel answered on February 1, 2017 14:11

As this was discussed in the ticket as well. I am adding reply also in here.

All actions that are possible to perform on the API are in CMS.ContinuousIntegration namespace. You could use FileSystemRepositoryManager class and methods Store(), StoreAll(), RestoreAll() to work with the repository.

Since CI objects are part of a repository under some source control, you can also use the some console application to run the ContinuousIntegration.exe and do this without Kentico at all.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.