Thank you!! I was looking for Post build plugin information only.
I am curious know why is that different from groovy plugin? Also there a 
document available to find out these information of groovy post build 
plugin and groovy plugin?

Thanks,
Maneesh

On Friday, January 17, 2014 2:25:07 AM UTC-8, Daniel Beck wrote:
>
> For Freestyle jobs at least, it's 
> manager.build.parent.lastStableBuild.number and 
> manager.build.parent.lastFailedBuild.number. 
>
> Note that this only works like this in Groovy Postbuild Plugin, which has 
> no relation to Groovy Plugin. 
>
> On 17.01.2014, at 10:56, Maneesh M P <[email protected] <javascript:>> 
> wrote: 
>
> > I am able to get the current build number 
> > 
> > currentBuildNumber = manager.build.number 
> > 
> > How to get the lastStableBuild, lastFaledBuildNumber  ? 
> > 
> > Thanks, 
> > M 
> > 
> > -- 
> > 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] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to