[JIRA] (JENKINS-58294) API to get the list of all views and the jobs inside these views including the ones inside the job folders

2 views
Skip to first unread message

priyankapanda348@gmail.com (JIRA)

unread,
Jul 2, 2019, 1:25:02 AM7/2/19
to jenkinsc...@googlegroups.com
Priyanka Panda created an issue
 
Jenkins / Improvement JENKINS-58294
API to get the list of all views and the jobs inside these views including the ones inside the job folders
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2019-07-02 05:24
Environment: Centos server, jenkins version is different for different instances
some are 1.6 and some are running 2.7/2.102 version
Priority: Minor Minor
Reporter: Priyanka Panda

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages