on-internet
← Community

Jenkins to List count of build for jenkins job

Stack Overflow ·

I wanted to create a jenkins job which can list me all jenkins job with it is count of number of builds it has executed. Jenkins API or Groovy may work. Below API provide me list of all build ids for particular job but I'm looking for count for build executed for that job. http://[jenkins_server]/job/[jobname]/api/xml?tree=builds[id] Also I'm refering this : https://stackoverflow.com/a/28039134/12897205 Let me know if I can go for any plugin

Comments

Sign in or sign up to comment and upvote.

No comments yet.