Hello Nicolas, wouldn't something like project.getBuildsAsMap() work?
BR, Emanuele Zattin --------------------------------------------------- -I don't have to know an answer. I don't feel frightened by not knowing things; by being lost in a mysterious universe without any purpose — which is the way it really is, as far as I can tell, possibly. It doesn't frighten me.- Richard Feynman On Wed, Jul 10, 2013 at 12:07 PM, nicolas de loof <[email protected]>wrote: > I'm triggering a job (build flow plugin) using project.scheduleBuild2 > I'd like to get the build number as the build start, not waiting for > completion (just like queue widget does). Seems I need the Queue Item ID > for this purpose, but scheduleBuild2 don't expose this one. > > Any suggestion ? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" 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. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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.
