Hi all, I have a system with a global "resource manager" which implements a locking mechanism for single access to a test fixture, comprised of a number of network-connected resources. There are many (40+) of these fixtures, and the resource manager implements a RESTful API for claiming/releasing a fixture.
What I want to do is implement a set of jenkins jobs to test these fixtures with a number of acceptance tests. I want jenkins to be smart about the resources and their locking, since both jenkins and other users will be accessing/claiming these test fixures. I want a Jenkins job that implements groovy script to ask for a fixture, and if it is currently in use then keep the job in the queue until the fixture is released. This would be easily realized in a build script, but that would keep an executor in use for a potentially very long time. I hope that's enough background, because basically I just want to implement a Scriptler script which can keep the currently running job in the jenkins queue, or cancel/unstable a job, based on the response from the resource manager. Having read through the jenkins API docs, I see there are ways of doing this (like the exclusion plugin) but is there a way to do this outside of a plugin? Thanks! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
