Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.99 KB

index.html.markdown

File metadata and controls

58 lines (39 loc) · 1.99 KB
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.

TeamCity Provider

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.

Example Usage

// Configure the TeamCity provider
provider "teamcity" {
  // url         = "${var.teamcity_url}"
  // api_version = "${var.teamcity_api_version}"
  // username    = "${var.teamcity_username}"
  // password    = "${var.teamcity_password}"
}

Requirements

Compatibility is defined by teamcity-go-sdk which bundled with this provider.

Argument Reference

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 the TEAMCITY_URL environment variable. Defaults to http://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 the TEAMCITY_API_VERSION environment variable. Defaults to 10.0

  • username - (Optional) This is the TeamCity username. It must be provided, but it can also be sourced from the TEAMCITY_USERNAME environment variable.

  • password - (Optional) This is the TeamCity Password. It must be provided, but it can also be sourced from the TEAMCITY_PASSWORD environment variable.