| Type | Name and description |
|---|---|
java.io.File |
dataDirThe data directory for this environment's TeamCity configuration. |
java.lang.String |
downloadUrlThe download URL used to download the TeamCity distribution for this environment. |
java.io.File |
homeDirThe home directory for this environment's TeamCity installation. |
java.io.File |
javaHomeThe Java home directory used to start the server and agent for this environment. |
java.lang.String |
nameThe name of the environment |
| Constructor and description |
|---|
TeamCityEnvironment
(java.lang.String name) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
agentOptions(java.lang.String... options) |
|
java.lang.Object |
getAgentOptions()The Java command line options to be used when starting the TeamCity Agent. |
|
java.util.List<java.lang.Object> |
getPlugins()The list of plugins to be deployed to this environment. |
|
java.io.File |
getPluginsDir() |
|
java.lang.Object |
getServerOptions()The Java command line options to be used when starting the TeamCity Server. |
|
java.lang.String |
getVersion()The version of TeamCity this environment uses. |
|
java.lang.Object |
plugins(java.lang.Object plugin) |
|
java.lang.Object |
serverOptions(java.lang.String... options) |
|
java.lang.Object |
setAgentOptions(java.lang.String options) |
|
java.lang.Object |
setAgentOptions(java.util.List<java.lang.String> options) |
|
java.lang.Object |
setPlugins(java.lang.Object plugins) |
|
java.lang.Object |
setPlugins(java.util.List<java.lang.Object> plugins) |
|
java.lang.Object |
setServerOptions(java.lang.String options) |
|
java.lang.Object |
setServerOptions(java.util.List<java.lang.String> options) |
|
void |
setVersion(java.lang.String version) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The data directory for this environment's TeamCity configuration.
The download URL used to download the TeamCity distribution for this environment.
The home directory for this environment's TeamCity installation.
The Java home directory used to start the server and agent for this environment.
The name of the environment
The Java command line options to be used when starting the TeamCity Agent.
The list of plugins to be deployed to this environment.
The Java command line options to be used when starting the TeamCity Server. Defaults to '-Dteamcity.development.mode=true -Dteamcity.development.shadowCopyClasses=true'
The version of TeamCity this environment uses. Defaults to version '9.0'
Groovy Documentation