How to get the list of all projects/jobs in jenkins using java programaticaly? -
i newbie jenkins , trying access list of jobs/projects in jenkins , project files in java not groovy , parsing xml files. ps: feel free edit thread! if downvoting comment reason! like @vitalii said better in groovy or other scripting languages or parse api/xml file workspace job list. for case can making class extending trigger , using job object of class trigger. note: include other default classes jenkins plugin requires , make sure plugin runs every minute code execute properly. public class xyz extends trigger<buildableitem> { @override public void run() { logger.info("project name"+job.getname()); } }