Pre-paid Jetbrains Cloud Agent not being used for builds
We recently purchased a prepaid build agent for our license however the agent never seems to be used for our automated builds so our builds end up burning through our build credits, or worse, sitting around never getting built.
Is there some sort of additional configuration to use this agent for automated builds? All documentation in the following page seemed to indicate this would be an automatic process so if anyone knows of a different page or additional documentation, please let me know: https://www.jetbrains.com/help/teamcity/cloud/teamcity-cloud-subscription-and-licensing.html#cloud-prepaid-agents
Please sign in to leave a comment.
To enforce all builds to only run on one pre-paid monthly agent (and queue other builds if there's already a build running on it), you can use agent pools (under the Agents screen) where you can assign projects and choose which agents they can run on (e.g. just select the Monthly agent).
Alternatively you can use the Agent Requirements screen under each build configuration to tell it to only use the pre-paid agent, e.g. add this requirement:
The Agent pools approach would be the better option though as you can quickly add all projects to a pool, and only add the Monthly agent to that pool.