-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: Windows XP
When you have multiple jobs set up, the URL ".../api/xml" returns the full list
of jobs along with the views. Under XPath, I should be able to filter this by
the following xpath "//job[*]". However, viewing the URL
".../api/xml?xpath=//job[*]" only returns the first job that matched, not all
jobs that matched.
We can't return a forest because it won't be parsable. In 1.167 I made it an
error for XPath to match multiple nodes, and introduce another query parameter
'wrapper' so that you can specify the XML element node Hudson will use as the
root element.