TestDistribution
GradleEnterprise
Develocity
Create or update an Agent Pool.
Create a new Agent Pool in Develocity or update the configuration of an existing one. 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 either added last on creation, or will not change position on update. When specified, the Agent Pool will be added at/moved to 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.
put/api/test-distribution/agent-pools/{poolId}
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
The Agent Pool was created or its configuration was updated successfully.
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.