The TeamCity collector collect builds from a TeamCity build server.
{
"$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"
]
}
}
]
}
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 |
Field | Type | Description |
---|---|---|
enabled | Boolean | Determines whether or not this collector is enabled |
The credentials fields is where you tell Duck how you want to authenticate with TeamCity.
"credentials": "guest"
"credentials": {
"basic": {
"username": "admin",
"password": "hunter1!"
}
}