Is there a way to filter based on a project type?

16 views
Skip to first unread message

kalyanasundaram s

unread,
Sep 1, 2017, 2:06:55 AM9/1/17
to jenkins...@googlegroups.com
Sorry if this is a novice question. I can't find a way around. 

While using the Jenkins remote api, is there a project type which i can use to filter? I wanted to take the jobs from all free style projects and ignore the Folders. How do I do this?

I see there is a _class attribute, can I rely on it for the type? But I don't see this in the older version of the Jenkins server (like 1.61.xx) only in the 2.x versions I see this attribute. I looked at some of the models "hudson.model.job" and AbstractProject. I didn't find any attribute which defines the type. Just wondering how to get the project type. Are you aware of any other attribute which defines the project type?


Thanks,
 Kalyan

Reply all
Reply to author
Forward
0 new messages