Hi I have a question about how to manage limited resources (actually software licences). Say I have a pool of machines M, a subset of the those machines, S, are able to run licenced software, however only N licences can be used concurrently. I know (thanks to an earlier reply), that I can use a label parameter to ensure the jobs only run on the appropriate machines, is there any mechanism to ensure that only N jobs can run at any time? (It sounds like a reference counted resource problem)
I can make S == N, but that doesn't result in the best distribution of jobs (esp. when N is small) as a machine S could be running a job that doesn't require a licence causing the job that requires the licence to queue waiting for it to become available while other resources could potentially be used. Is there a good way to manage this scenario? Thanks, Andy -- 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/groups/opt_out.
