AFAIK, you cannot determine the build number before the build is actually started. So you cannot get it from the queued item.
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 jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Gesendet: Mittwoch, 10. Juli 2013 um 12:07 Uhr
Von: "nicolas de loof" <nicolas.del...@gmail.com>
An: jenkinsci-dev@googlegroups.com
Betreff: how to retrieve schedule job build number ?
Von: "nicolas de loof" <nicolas.del...@gmail.com>
An: jenkinsci-dev@googlegroups.com
Betreff: how to retrieve schedule job build number ?
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 jenkinsci-dev+unsubscr...@googlegroups.com.
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 jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.