Extending the json/xml API

21 views
Skip to first unread message

ssuther...@gmail.com

unread,
Jun 23, 2015, 6:51:54 PM6/23/15
to jenkins...@googlegroups.com
I have an external application that monitors some of our Jenkins jobs, and am using the json api to grab status info.
We also use the Build Failure Analyzer plugin to determine failure causes, but the result is not returned through the json api.

Is there a convenient way to extend what the json (or xml) api provides in order to add this or any other build meta data? Alternately, is there a different way to access this information (through the cli maybe?)

Thanks
-Sean 

Khai Do

unread,
Jul 15, 2015, 1:00:33 AM7/15/15
to jenkins...@googlegroups.com
We use the python-jenkins (https://pypi.python.org/pypi/python-jenkins) library to access build info, the output is in json.  It's open source (apache license) so you can just extend it to grab additional meta data about each build. 
Reply all
Reply to author
Forward
0 new messages