Re: Git commit id for a build in email-ext script

2012-10-25 Thread Slide
On Thu, Oct 25, 2012 at 12:10 PM, Xavier Nodet wrote: > On Thu, Oct 25, 2012 at 8:54 PM, Slide wrote: > >> >> On Thu, Oct 25, 2012 at 11:44 AM, Xavier Nodet wrote: >> >>> How to go from an AbstractBuild to the git Id? >>> >> >> Is it part of the build variables? build.buildVariables is a Map> Str

Re: Git commit id for a build in email-ext script

2012-10-25 Thread Xavier Nodet
On Thu, Oct 25, 2012 at 8:54 PM, Slide wrote: > > On Thu, Oct 25, 2012 at 11:44 AM, Xavier Nodet wrote: > >> How to go from an AbstractBuild to the git Id? >> > > Is it part of the build variables? build.buildVariables is a Map String>. > The map is empty when I ask for it in the script. build.b

Re: Git commit id for a build in email-ext script

2012-10-25 Thread Slide
On Thu, Oct 25, 2012 at 11:44 AM, Xavier Nodet wrote: > Hello, > > I am starting to use email-ext, editing the provided groovy-text. template. > In the general case, how am I supposed to determine what git ID was used > for the build (assuming the build uses Git, of course...) > > I know how to ge