<stautolabel>
Task for supporting labeling of repositories with incremented version numbers. The version number calculated will be concatenated to the label.
Attribute | Type | Description | Required |
|---|
buildversion | int | Build version number used for label. If this value is set, incrementbuild is ignored. | False |
incrementbuild | bool | Increment build version number. The default is true. If buildversion is set, this property is ignored. | False |
incrementmajor | bool | Increment major version number. The default is false. If majorversion is set, this property is ignored. | False |
incrementminor | bool | Increment minor version number. The default is false. If minorversion is set, this property is ignored. | False |
majorversion | int | Major version number used for label. If this value is set, incrementmajor is ignored. | False |
minorversion | int | Minor version number used for label. If this value is set, incrementminor is ignored. | False |
versionfile | string | Allows user to specify the filename where the version XML is stored. The default is versionnumber.xml. | False |
label | string | The name to be given to the label; required. | True |
buildlabel | bool | Should label be marked build? Default is true. | False |
description | string | Optional description of the label to be stored in the StarTeam project. | False |
failonerror | bool | | False |
if | bool | | False |
password | string | The password used for login. | False |
projectname | string | The name of the StarTeam project to be acted on. | False |
revisionlabel | bool | Should label created be a revision label? Default is false. | False |
servername | string | Name of StarTeamServer. | False |
serverport | string | Port number of the StarTeam connection. | False |
timestamp | string | Optional:
If this property is set, the label will be created as of the datetime specified. Please provide a datetime format that can be parsed via Parse. | False |
unless | bool | | False |
url | string | One stop to set all parameters needed to connect to a StarTeam server. | False |
username | string | The StarTeam user name used for login. | False |
verbose | bool | | False |
viewname | string | The name of the StarTeam view to be acted on. | False |
Example
<stautolabel incrementminor="true" url="${ST.url}" />