Re: Cloud plugin, provisioning

2015-09-07 Thread Stephen Connolly
ck in a design that is difficult to work your way to something "not too bad" HTH -Stephen On 6 September 2015 at 19:55, Stanislav Baiduzhyi <baiduzhyi.de...@gmail.com > wrote: > Hi All, > > Quick question: writing cloud plugin, provisioning is called more than > once f

Re: Cloud plugin, provisioning

2015-09-07 Thread Stanislav Baiduzhyi
Hi Stephen, On Mon, Sep 7, 2015 at 10:21 AM, Stephen Connolly wrote: > Once you've handed out the node you are not supposed to hand it out again > until it has been deprovisioned. If you have no more nodes to provision then > return empty list so that additional

Re: Cloud plugin, provisioning

2015-09-07 Thread Stephen Connolly
On 7 September 2015 at 10:07, Stanislav Baiduzhyi wrote: > Hi Stephen, > > On Mon, Sep 7, 2015 at 10:21 AM, Stephen Connolly > wrote: > > Once you've handed out the node you are not supposed to hand it out again > > until it has been

Cloud plugin, provisioning

2015-09-06 Thread Stanislav Baiduzhyi
Hi All, Quick question: writing cloud plugin, provisioning is called more than once for the same label, but I have only one node to provision, should I return the same instance once again, or should I return empty list and Jenkins will reuse the node that was returned on first request? -- You