Shared Resources lock several custom values
Our setup contains a pool of devices for testing, and I'd like to use the shared resource plugin to effectively utilize these. Right now, this is possible with a single custom resource to a build, but we have no way of conveniently doing an arbitrary number of custom resources locked to a build (it's only 'any' or 'all').
There's a possible workaround by creating multiple types of resources, e.g.)
RESOURCE_POOL_1 contains 6 devices
RESOURCE_POOL_2 contains 6 devices
which then allows us to have either 1, 2, 6, or 12 resources per job, but this is cumbersome and doesn't scale conveniently (it also means that we can't effectively use all the devices).
Is there any way right now to conveniently lock N resources from a pool?
Please sign in to leave a comment.
Hi Vijay,
You are looking for this feature request, which hasn't been implemented yet: https://youtrack.jetbrains.com/issue/TW-29779 Feel free to watch and vote the issue to get it implemented. In the meantime, you can only create resources with small amounts of devices that you can then mix and match.