Project Subversion Setup Defaults

Project SVN Setup Defaults define the default values which appear when creating a new project with an SCM Type of Subversion, or a new Source is added for Project with SubVersion as SCM Type.

You can either set default values by simple assignment, in which case all projects will inherit the values when SubVersion is selected for SCM Type. Another option can be to use if statement to check for SVNInstanceCode and setup different values based on the SVN instance selected by user. The second option provides a better approach if you have more than one repository and the structure of folders may be different among them.


Sample Defaults Script


Default Script Variables

Field Name

Type

Description

SVNInstanceCode

String

The default SCM Instance Code for SCM sources.

TrunkScript

String

The default value/script for Trunk Script of SCM sources.

BranchScript

String

The default value/script for Branch Script of SCM sources.

TagScript

String

The default value/script for Tag Script of SCM sources.

CheckoutFolderScript 

String

The default value/script for Checkout Folder of SCM sources.

The following macros are not currently supported in the footer:
  • style