Agent¶
Reference¶
dohq_teamcity.custom.models.Agent
(and bases class)- Original swagger documentation by class Agent
- Some examples you can find in tests directory
Examples¶
# Get pool by agent name
agent = "linux-ci-01.example.com"
pool = teamcity.agents.get("name:{}".format(agent)).pool.name