back to content

Dynamsoft SourceAnywhere CruiseControl.NET Plug-in

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

SourceAnywhere (SAWS) Configuration Example


<sourcecontrol type="saws" autoGetSource="true" applyLabel="true">

  <server>demo.dynamsoft.com</server>
  <port>7777</port>
  <repository>default</repository>
  <project>$/test</project>
  <username>dynamsoft1</username>
  <password>saw</password>
  <workingDirectory>D:\TestFolder\ccnet</workingDirectory>
  <cleanCopy>false</cleanCopy>
</sourcecontrol>


Configuration Elements:

Node

Description

Type

Required

Default

server

The domain name or IP address of a running SourceAnywhere server or cache server.

 

string

true

null

port

The port of a running SourceAnywhere server or cache server.

string

true

null

repository

The repository you want to log into.

string

true

null

project

A valid project in the current SourceAnywhere repository.

string

true

null

username

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

string

true

null

password

Password for the SourceAnywhere user.

string

false

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

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

false

CCNet project working directory

cleanCopy

Determines is the working directory and all its contents should be deleted before the latest version of the source is downloaded.

bool

false

false

 

Installing the Plug-in

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

  1. Install SourceAnywhere COM SDK. It can be downloaded from http://www.dynamsoft.com/Downloads/SAWStandalone_Download.aspx

  2. Download CruiseControl.NET SourceAnywhereS Plug-in and unzip it into the CruiseControl.NET server directory.
  3. Edit the ccnet.config file in the CruiseControl.NET server directory appropriately.