This is not a dev list question. On 07.02.2015, at 12:28, Irfan Sayed <[email protected]> wrote:
> thanks. > using this url , i am getting other info as well. > can we get just last build number using API ? > otherwise, i have to get all these info and the write a parser to just get > build number ? > > regards > irfan > > > On Sat, Feb 7, 2015 at 3:50 PM, Baptiste Mathus <[email protected]> wrote: > Hi, > I think this is more a question for jenkinsci-users mailing list... Or are > you in a plugin? > > I guess http://localhost:8080/job/theOtherJob/lastBuild/api/json is what > you're looking for. > > Cheers > > 2015-02-07 10:43 GMT+01:00 Irfan Sayed <[email protected]>: > hi, > > i need to access latest build number of another job. > for ex: i have two jobs A and B > > in the job configuration of B job, i am executing one shell script which > accept one parameter as build number. i need to provide latest build number > of job A > > how can i do that ? is there any rest API which gives the latest build number > of job > regards > irfan > > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJZC-y3rXm5PHi0FekU0CWXuboZN2CDf9aU1RADk1i9LKA%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > > > > -- > Baptiste <Batmat> MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS7VEAj8r%3Dys5SFOpLCyXFigTgYg7YZBcMfajax5CPx-Hw%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJbud31gEqDVchYTARYxcVfA%2BC0K%3DAWHeGskMTMqB6xb-g%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/5F3DBB5B-B754-431E-8C82-C8E7FCBB336E%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
