jetbrains.buildServer.configs.kotlin.v2018_2.vcs / SvnVcsRoot

SvnVcsRoot

open class SvnVcsRoot : VcsRoot

A Subversion VCS root

Types

ExternalsMode

enum class ExternalsMode

Subversion externals mode

WorkingCopyFormat

enum class WorkingCopyFormat

A Subversion working copy format

Constructors

<init>

SvnVcsRoot(init: SvnVcsRoot.() -> Unit)SvnVcsRoot()

A Subversion VCS root

Properties

configDir

var configDir: String?

Custom Subversion configuration directory to use

customSshKey

var customSshKey: String?

A path to SSH key on the TeamCity server machine to use

enableNonTrustedSSL

var enableNonTrustedSSL: Boolean?

Whether TeamCity should accept non-trusted SSL certificates from Subversion server

externalsMode

var externalsMode: ExternalsMode?

A mode of externals support

labelingMessage

var labelingMessage: String?

A message to use for labeling

labelingRules

var labelingRules: String?

Labeling patterns to use

passphrase

var passphrase: String?

A passphrase for SSH key if it is encrypted

password

var password: String?

A password for Subversion connection

sshPort

var sshPort: Int?

SSH port to use

uploadedKey

var uploadedKey: String?

Name of the uploaded SSH key to use for connections via SSH.

url

var url: String?

Subversion server URL

useDefaultConfigDir

var useDefaultConfigDir: Boolean?

Whether the default Subversion configuration directory should be used

userName

var userName: String?

A username for Subversion connection

workingCopyFormat

var workingCopyFormat: WorkingCopyFormat?

Subversion working copy format to use

Inherited Properties

id

open var id: Id?

VCS root id. It appears in the web UI and is used in urls. If the VCS root has a uuid specified, then the id can be changed at any time. If uuid is omitted, then TeamCity treats a VCS root with a changed id as a new VCS root, all data associated with the old root will be lost (e.g. a commits graph). Id can also be used by some settings, e.g. as a part of parameter reference. If you change the id, you should find all its occurrences in the current project and change them too. Id must be unique across all VCS roots on the server. If id is missing, it will be generated from the class name (if the class is not from the jetbrains.buildServer.configs.kotlin.v2018_2 package).

name

var name: String

VCS root name

paramRefs

open val paramRefs: VcsRootRefs

Helper for creating references to parameters of this VCS root

pollInterval

var pollInterval: Int?

VCS root polling interval

type

var type: String

VCS type

uuid

var uuid: String

VCS root uuid. TeamCity uses it to identify the VCS root. If uuid changes, TeamCity considers it to be a new entity. If uuid is missing, it is reconstructed from VCS root id. Uuid must be unique across all entities on the server.

Functions

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited Functions

create

open fun create(): VcsRoot

Creates an instance of this VCS root via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.

equals

open fun equals(other: Any?): Boolean

id

fun id(id: String): Unit

Sets the id to the specified value. Type of the id depends on the context in which DSL is executed: it is RelativeId when DSL context is relative, otherwise it is AbsoluteId.

toString

open fun toString(): String