VersionControlSpec

Captures user-provided information about a version control repository.

Since

4.4

Inheritors

Functions

Link copied to clipboard
abstract fun getDisplayName(): String
Link copied to clipboard
abstract fun getRepoName(): String
Returns the name of the repository.
Link copied to clipboard
abstract fun getRootDir(): String
Returns the relative path to the root of the build within the repository.
Link copied to clipboard
abstract fun getUniqueId(): String
Returns a String identifier which will be unique to this version control specification among other version control specifications.
Link copied to clipboard
abstract fun plugins(configuration: Action<in InjectedPluginDependencies>)
Configure injected plugins into this build.
Link copied to clipboard
abstract fun setRootDir(rootDir: String)
Sets the relative path to the root of the build within the repository.