Jenkins API: retrieve the complete list of jobs in one single rest api access
4,219 views
Skip to first unread message
Victor Martinez
unread,
Nov 1, 2016, 8:19:04 AM11/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Hi there,
I'd like to know whether there is an easy way of retrieving the entire list of jobs in one single rest api even when those jobs are in folders without iterating through the rest api by doing traversal search or any other tree search.
I've found the below suggestion, but I'm not a fan of using hardcoded depth values:
I assume no API support for that yet. Does it make sense to raise a ticket? or is intended to be like that? Besides of that, if you have any example I could reuse to do that search please let me know
Thanks
Victor Martinez
unread,
Nov 16, 2016, 7:27:26 AM11/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message