On Thu, Oct 25, 2012 at 12:10 PM, Xavier Nodet <xavier.no...@gmail.com>wrote:
> On Thu, Oct 25, 2012 at 8:54 PM, Slide <slide.o....@gmail.com> wrote: > >> >> On Thu, Oct 25, 2012 at 11:44 AM, Xavier Nodet <xavier.no...@gmail.com>wrote: >> >>> How to go from an AbstractBuild to the git Id? >>> >> >> Is it part of the build variables? build.buildVariables is a Map<String, >> String>. >> > > The map is empty when I ask for it in the script. > build.buildVariables.size() == 0 > > -- > Xavier Nodet > > How about using the build.variableResolver and calling the resolve method? I am not sure where this information would come from, I'm just looking at the AbstractBuild javadoc. So, perhaps someone else would have some better information :-) slide -- Website: http://earl-of-code.com