back to content

Dynamsoft SourceAnywhere Standalone CruiseControl.NET Plug-in

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

SourceAnywhere Standalone (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 Standalone server or cache server.

 

string

true

null

port

The port of a running SourceAnywhere Standalone 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 Standalone repository.

string

true

null

username

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

string

true

null

password

Password for the SourceAnywhere Standalone 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 Standalone COM SDK. It can be downloaded from http://www.dynamsoft.com/Downloads/SAWStandalone_Download.aspx

  2. Download CruiseControl.NET SAWS Plug-in and unzip it into the CruiseControl.NET server directory.
  3. Edit the ccnet.config file in the CruiseControl.NET server directory appropriately.
best version control software   source code management   SourceSafe alternative