Re: Groovy Plugin: Obtain upstream builds?

2012-03-21 Thread Nicky Ramone
Yeah, this is how I'm doing it right now (don't know if there's a better way to do it): build = Thread.currentThread().executable upstreamBuilds = build.getUpstreamBuilds() The problem is that it's not easy to determine which upstream build triggered the current build. On Tue, Mar 20, 2012 at 5:

Re: Groovy Plugin: Obtain upstream builds?

2012-03-20 Thread Andrew Bayer
I think you'd have to use the system groovy build step to do this, but it should be possible there. A. On Tue, Mar 20, 2012 at 10:08 AM, Nicky Ramone wrote: > Hi. > > Is it possible to obtain the upstream build objects in a groovy script > executed by the Groovy Plugin? > You can do this in the

Groovy Plugin: Obtain upstream builds?

2012-03-20 Thread Nicky Ramone
Hi. Is it possible to obtain the upstream build objects in a groovy script executed by the Groovy Plugin? You can do this in the Groovy Post Build Plugin with: manager.build.getUpstreamBuilds() Is there a similar way of doing it? Thanks Regards.