createOrUpdateBuildCacheNode

@PUT(value = "api/build-cache/nodes/{name}")
abstract suspend fun createOrUpdateBuildCacheNode(@Path(value = "name") name: String, @Body nodeConfiguration: NodeConfiguration)

Create or update a Build Cache Node. Create a new Build Cache Node in Develocity or update the configuration of an existing one. The Built-in Build Cache Node cannot be named as the target of this operation. Responses:

  • 200: The name referenced an existing Build Cache Node and that Build Cache Node’s configuration was updated successfully.

  • 201: A new Build Cache Node was created with the configuration specified in the request.

  • 400: The request cannot be fulfilled due to a problem.

  • 404: The referenced resource either does not exist or the permissions to know about it are missing.

Return

Unit

Parameters

name

The name of the Build Cache Node. To select the Built-in Build Cache Node, use `Built-in` as name.

nodeConfiguration