|
CruiseControl.NET : Telelogic Synergy
This page last changed on Dec 15, 2009 by csut017.
Telelogic Synergy Source Control BlockCruiseControl.NET SCM plugin for CM Synergy. VersionAvailable from version 1.0 ExamplesExample using Defaults <sourcecontrol type="synergy"> <connection> <host>myserver</host> <database>\\myserver\share\mydatabase</database> </connection> <project> <release>Product/1.0</release> <projectSpecification>Product-1</projectSpecification> <taskFolder>1234</taskFolder> </project> <changeSynergy> <url>http://myserver:8060</url> </changeSynergy> </sourcecontrol> Full Example <sourcecontrol type="synergy"> <connection> <host>myserver</host> <database>\\myserver\share\mydatabase</database> <!-- store values in an environmental variable--> <username>%CCM_USER%</username> <password>%CCM_PWD%</password> <role>build_mgr</role> <homeDirectory>D:\cmsynergy\%CCM_USER%</homeDirectory> <clientDatabaseDirectory>D:\cmsynergy\uidb</clientDatabaseDirectory> <polling>true</polling> <timeout>3600</timeout> </connection> <project> <release>Product/1.0</release> <projectSpecification>Product-1</projectSpecification> <taskFolder>1234</taskFolder> <baseline>false</baseline> <purpose>Integration Testing</purpose> <template>true</template> </project> <changeSynergy> <role>User</role> <url>http://myserver:8060</url> <username>%CS_USER%</username> <password>%CS_PWD%</password> </changeSynergy> </sourcecontrol> Configuration Elements
Notes
BackgroundCM Synergy Concepts (http://confluence.public.thoughtworks.org//display/CC/CMSynergyConcepts) is arguably one of the best conceptual explanations of CM Synergy. Consider it a prerequisite for implementing continuous integration with CM Synergy. Robert Smith (http://confluence.public.thoughtworks.org//display/~rjmpsmith), from the CruiseControl for Java site, deserves a great deal of credit for explaining the product better than Telelogic ever has. Methodology of integration with CCNETCertain assumptions have been made about the integration of CruiseControl.NET and CM Synergy. First, it is assumed that all projects use a task based reconfigure template, rather than an object based.
Configuration ReuseBy creating separate child nodes for the <connection>, <project>, and <changeSynergy> configuration elements, it is very easy to create reusable blocks of XML. For more information on XML DTD entities and reusable configuration blocks, see JIRA issue CCNET-239 and Nithy Palanivelu's Weblog (http://peeps.dallas.focus\-technologies.com/roller/page/nithy/20040128#using\_the\_entity\_includes\_in). The Polling FeatureThe polling feature is useful if your Synergy installation routinely goes offline (i.e., "protected mode"). Long runing builds may inadventently conflict with the routine downtime schedules. For example, polling allows your build to queue CM Synergy commands until the nightly backup completes. Environmental VariablesEnvironmental variable support enables you to keep your sensitive build manager credentials out of the CCNET configuration file. This is especially important if the configuration file is under source control, whereby it would be readable by all CM Synergy users.
|
| Document generated by Confluence on Jan 23, 2011 08:52 |