JetBrains/teamcity-shared-resources

Can we acquire more than one read lock for a configuration

Opened this issue · 0 comments

I have a pool of 5 Xbox Devkits. I have many build configurations that run automated tests on these devkits. Some build configurations use 1 xbox, some use 2, some 3, and some 4.

I would like to be able to acquire a number of read locks equal to the number of xboxes the build configuration requires. I can't see if there's a current way to do this.

This means that if a 4 xbox job starts, 4 of the 5 shared resources get locked.
If another single xbox job starts, it can acquire the remaining read lock.
All other jobs will be blocked in the queue until xbox devkits become available.

Tom