Interface VersionControlSpec
- All Superinterfaces:
Describable
- All Known Subinterfaces:
GitVersionControlSpec
Captures user-provided information about a version control system.
- Since:
- 4.4
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the repository.Returns the relative path to the root of the build within the repository.Returns aStringidentifier which will be unique to this version control specification among other version control specifications.voidsetRootDir(String rootDir) Sets the relative path to the root of the build within the repository.Methods inherited from interface Describable
getDisplayName
-
Method Details
-
getUniqueId
-
getRepoName
String getRepoName()Returns the name of the repository. -
getRootDir
String getRootDir()Returns the relative path to the root of the build within the repository.Defaults to an empty relative path, meaning the root of the repository.
- Since:
- 4.5
-
setRootDir
Sets the relative path to the root of the build within the repository.- Since:
- 4.5
-