online source control
back to content
sign up free version control plan

Dynamsoft SourceAnywhere Hosted CruiseControl.NET Plug-in

SourceAnywhere Hosted provides a CriuseControl.NET plug-in which allows users to integrate SourceAnywhere Hosted with CruiseControl.NET for continuous integration.

SourceAnywhere Hosted (SAWH) Configuration Example


<sourcecontrol type="SAWH" autoGetSource="true" applyLabel="true">
  <organizationID>300464</organizationID>
  <repository>default</repository>
  <project>$/test</project>
  <username>admin</username>
  <password>saw</password>
  <workingDirectory>D:\TestFolder\ccnet</workingDirectory>
  <tempDirectory>D:\TestFolder\temp</tempDirectory>
</sourcecontrol>


Configuration Elements:

Node

Description

Type

Required

Default

organizationID

The organization ID of your SourceAnywhere  Hosted account.

 

string

true

null

repository

The repository you want to log into.

string

true

null

project

A valid project in the current SourceAnywhere Hosted repository.

string

true

null

username

Username that CCNet should use to authenticate with SourceAnywhere Hosted Server.

string

true

null

password

Password for the SourceAnywhere Hosted user.

string

true

null

workingDirectory

The root folder where the latest source will be retrieved from the Source Server. This path can either be absolute or it can be relative to the CCNet project working directory.

string

true

null

tempDirectory

Specifies a local folder for storing temporary files.

string

true

null

autoGetSource

Specifies if CCNet should automatically retrieve the latest version of the source from the repository.

bool

false

false

applyLabel

Specifies if CCNet should apply the build label to the repository.

bool

false

false

useCacheServer

Determines whether to use Cache Server to connect to SourceAnywhere Hosted Server.

bool

false

false

cacheServerAddress

SourceAnywhere Hosted Cache Server IP.

string

false

127.0.0.1

cacheServerPort

SourceAnywhere Hosted Cache Server Port.

string

false

7777

ssl

Determines whether to use SSL port to connect to SourceAnywhere Hosted Server.

bool

false

false

 
Note: ssl and useCacheServer cannot be true at the same time.

Installing the Plug-in

To install the plug-in, please follow these steps:

  1. Install SourceAnywhere Hosted COM SDK. It can be downloaded from http://www.dynamsoft.com/Downloads/SAWHosted_Download.aspx
  2. Download CruiseControl.NET SAWH Plug-in and unzip it into the CruiseControl.NET server directory.
  3. Edit the ccnet.config file in the CruiseControl.NET server directory appropriately.