Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58294

API to get the list of all views and the jobs inside these views including the ones inside the job folders

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Centos server, jenkins version is different for different instances
      some are 1.6 and some are running 2.7/2.102 version

      I am trying to find out a jenkins API that will give me the list of all the views present in jenkins.

      Second, i am trying to get the list of all  the jobs inside a particular jenkins view.

      I found this API that gives s me the list of all the jobs inside the view

      https://<jenkins-instance>/view/<view-name>/api/json but this does not list out the job names that are inside a folder in this view, it just gives me the folder name.

       

      Can someone suggest if there is any API as per my requirement.

            Unassigned Unassigned
            priyankapanda348 Priyanka Panda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: