This page last changed on Sep 11, 2008 by williams.

Alienbrain Configuration Examples

Example using defaults:

<sourcecontrol type="alienbrain">
   <server>MyServer</server>
   <database>MyDatabase</database>
   <username>Username</username>
   <password>Password</password>
   <project>ab://myprojectpath</project>
</sourcecontrol>

Full example:

<sourcecontrol type="alienbrain">
   <server>MyServer</server>
   <database>MyDatabase</database>
   <username>Username</username>
   <password>Password</password>
   <project>ab://myprojectpath</project>
   <executable>c:\alienbrain\ab.exe</executable>
   <workingDirectory>d:\code</workingDirectory>
   <branch>Root Branch/Branch1</branch>
   <autoGetSource>true</autoGetSource>
   <labelOnSuccess>true</labelOnSuccess>
   <timeout units="minutes">10</timeout>
</sourcecontrol>

Configuration Elements

Node Description Type Required Default
server Alienbrain server hostname or ip adress. The list of valid server name and ip adresses are listed in the File, Connect to project database, Step 1, list box. string true n.a.
database Alienbrain project database name. The list of valid project databases are listed in the File, Connect to project database, Step 2, list box. string true n.a.
username The name of the user you want to use to connect to the server project database string true n.a.
password The password of the user you want to use to connect to the server project database string true n.a.
project This is the path of to monitor the file changes. Use alienbrain://Code or ab://Code project path format string true n.a.
workingDirectory The path where the get latest will update the files. string false "" (mean default source control defined directory
branch The path of the branch specification. to enumarate the name of the branches, use the ab enumbranch command line. string false "" (mean Root Branch)
autoGetSource Specifies whether the current version of the source should be retrieved from Alienbrain. bool false true
labelOnSuccess Specifies whether or not the repository should be labelled after a successful build bool false false
timeout Sets the timeout period for the source control operation. See Timeout Configuration for details. Timeout no 10 minutes
issueUrlBuilder Converts the comment (or parts from it) into an url pointing to the issue for this build.
See Issue Builder for more details
Group N/A false

Alienbrain Notes

Current implementation of alienbrain use the following commands:

Action command
Branch ab setactivebranch "Root Branch" -s "MyServer" -d "MyProject Database" -u "MyUsername" -p "MyPassword"
Modifications ab find "ab://MyPath" -s "MyServer" -d "MyProject Database" -u "MyUsername" -p "MyPassword" -regex "SCIT > 127771952139476549 AND SCIT < 127771952139476550" -format "#CheckInComment#|#Name#|#DbPath#|#SCIT#|#Mime Type#|#LocalPath#|#Changed By#|#NxN_VersionNumber#"
Label ab setlabel "ab://MyPath" -s "MyServer" -d "MyProject Database" -u "MyUsername" -p "MyPassword" -name "LabelnameprovidedbyCCNET" -comment "This label is brought to you by CruiseControl.NET"
Get Latest ab getlatest "ab://MyPath" -s "MyServer" -d "MyProject Database" -u "MyUsername" -p "MyPassword" -localpath "Workingdir" -overwritewritable replace -overwritecheckedout replace -response:GetLatest.PathInvalid y -response:GetLatest.Writable y -response:GetLatest.CheckedOut y

Contributions

  • Alienbrain support added by Francis Tremblay
Document generated by Confluence on Mar 14, 2009 02:55