-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows 7, Jenkins 1.500
The plugin allows to configure resources that have names, but no IDs. This breaks the locking mechanism.
The plugin should check this requirement for all inputs or use other distictions than the specified ID for the internal locking mechanism.
Steps to reproduce:
- Create two resources with different names, without specifiing an ID
- give those resources an equal property (e.g. type=tablet)
- create two jobs requiring one of these two resources (selection criterium: type=tablet)
- execute the two jobs in parallel
Expected result:
- both resources get locked and then unlocked by the two jobs
Actual result:
- the first job that finished will do well, unlocking the first resource
- the second jobs fails to unlock it's resource, stating WARNING The resource has already been unlocked by some other means.
- the second resource remains locked