Is it possible, without disabling all other connected agents, to force TeamCity to build on a specific agents machine?
To run a custom build with specific changes, open the build results page, go to the Changes tab, expand the required change, click the Run build with this change, and proceed with the options in the Run Custom Build dialog. Use HTTP request or REST API request to TeamCity to trigger a build.
If a build agent is installed and running on the same computer as the TeamCity build server, it is authorized automatically. Agents are manually enabled/disabled via the web UI. The TeamCity server only distributes builds to agents that are enabled.
To bind certain projects to an agent pool, open the Projects tab, click Assign projects, and select the required projects. You can choose to detach them from their previous pools, if necessary. After you save the settings, TeamCity will only be running builds of these projects on the agents from the current pool.
Under Build Configuration Settings
go to Agent Requirements
and set an Explicit Requirement
for the specific agent name:
Parameter Name: system.agent.name
Condition: equals
Value: YOUR_SPECIFIC_AGENT_NAME
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With