layout | page_title | sidebar_current | description |
---|---|---|---|
teamcity |
Provider: TeamCity |
docs-teamcity-index |
The TeamCity provider is used to interact with JetBrains TeamCity server. The provider needs to be configured with the proper credentials before it can be used. |
The TeamCity provider is used to interact with TeamCity Server by JetBrains. The provider needs to be configured with the proper credentials before it can be used.
Use the navigation to the left to read about the available resources.
// Configure the TeamCity provider
provider "teamcity" {
// url = "${var.teamcity_url}"
// api_version = "${var.teamcity_api_version}"
// username = "${var.teamcity_username}"
// password = "${var.teamcity_password}"
}
Compatibility is defined by teamcity-go-sdk which bundled with this provider.
The following arguments are supported in the provider
block:
-
url
- (optional) This is the TeamCity Server URL e.g. https://teamcity.domain.com:8111. It must be provided but it can also be sourced from theTEAMCITY_URL
environment variable. Defaults tohttp://localhost:8111
-
api_version
- (optional) This is the TeamCity Server REST API Version e.g.latest
. It must be provided but it can also be sourced from theTEAMCITY_API_VERSION
environment variable. Defaults to10.0
-
username
- (Optional) This is the TeamCity username. It must be provided, but it can also be sourced from theTEAMCITY_USERNAME
environment variable. -
password
- (Optional) This is the TeamCity Password. It must be provided, but it can also be sourced from theTEAMCITY_PASSWORD
environment variable.