TestDistribution
GradleEnterprise
Develocity
Create an Agent Pool.
Create a new Agent Pool in Develocity. The orderIndex element is optional and can be used to specify the priority order in which the Agent Pool is considered. When not specified, the Agent Pool will be added last. When specified, the Agent Pool will be added at the specified index and all other Agent Pools will be moved down. If the specified index is out of bounds, the Agent Pool will be added last with the orderIndex adjusted accordingly.
post/api/test-distribution/agent-pools
Request
- Base URLhttps://develocity.example.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "functional-test-agents",
"capabilities": [
"jdk=17",
"os=linux",
"functional-test"
],
"projectGroupIds": [
"project-group-a"
]
}Response
A new Agent Pool was created with the configuration specified in the request.
Example response
{
"name": "functional-test-agents",
"capabilities": [
"jdk=17",
"os=linux",
"functional-test"
],
"projectGroupIds": [
"project-group-a"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.