Hi all,

I have a special "build executor" for a job that is launched in a Windows 
VM running on the buildserver. I would like to lock the VM once it is 
running (or before starting it up) to prevent that another job that may 
want to use this VM, too has to wait until the currently running job that 
acquired the VM already has finished.
The executed jobs are matrix runs and only one of them needs the VM, the 
others run native on the server. And the overall usage time of the VM 
compared to the full job run is rather "short", so locking it while the 
whole job is executed would block others unnecessarily.

I tried something with the resource locks, but I wasn't successful (no real 
locking happened) or I did not understand all bits and pieces here.

How can I approach this topic to get a reliable and safe locking of the VM?

Thanks.

Best regards,

Erik

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d3f7873c-f4f7-41e6-b591-a503dda5feban%40googlegroups.com.

Reply via email to