AFAIK, you cannot determine the build number before the build is actually started. So you cannot get it from the queued item.
 
Gesendet: Mittwoch, 10. Juli 2013 um 12:07 Uhr
Von: "nicolas de loof" <[email protected]>
An: [email protected]
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 [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.
 
 

Reply via email to