This is an early build of the site and information may not be accurate or complete.
TeamCity

The TeamCity collector collect builds from a TeamCity build server.

Example

{
    "$schema": "https://duckhq.org/schema.json",
    "collectors": [
        {
            "teamcity": {
                "id": "teamcity_local",
                "serverUrl": "192.168.0.1:8111",
                "credentials": {
                    "basic": {
                        "username": "admin",
                        "password": "hunter1!"
                    }
                },
                "builds": [
                    "My_Build_Configation",
                    "My_Other_Build_Configation"
                ]
            }
        }
    ]
}

Required fields

Field Type Description
builds Array The TeamCity builds definitions to include
credentials TeamCityCredentials The TeamCity credentials
id String The TeamCity collector ID
serverUrl String The TeamCity server URL

Optional fields

Field Type Description
enabled Boolean Determines whether or not this collector is enabled

Credentials

The credentials fields is where you tell Duck how you want to authenticate with TeamCity.

Guest:

"credentials": "guest"

Basic authentication:

"credentials": {
    "basic": {
        "username": "admin",
        "password": "hunter1!"
    }
}