I think you want the lockable resources plugin.
https://plugins.jenkins.io/lockable-resources

On Sat, Jan 11, 2020 at 5:19 AM Sharoon Mohideen <[email protected]>
wrote:

> Hi,
>
> I have only a single license of the tool which is running in one of the
> agent.
> Suppose, I commit to the shared repository which triggers the sequence of
> stages by Jenkins declarative pipeline, with one of the stage use the above
> said tool (with one license).
>
> Another team member subsequently (say after 10 minutes) made changes to
> the shared repository which triggers the same sequence of stages.
>
> Since the execution of tool from my commit is still in progress, is there
> a way to queue the second request of the tool till the first request is
> finished.
>
>
> Thanks and regards,
> Sharoon
>
>
>
>
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAB-nQ9naGsXueOej%2Ba5SdF-eXLNKdj4_DSj%3DtS163UDWMs7bCg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAB-nQ9naGsXueOej%2Ba5SdF-eXLNKdj4_DSj%3DtS163UDWMs7bCg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Thanks!
Mark Waite

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF9b8f-3OuQnd8LmoxcgOV%3DLCO9Ah_M8LEUSuaGgpxAaA%40mail.gmail.com.

Reply via email to