List Rundeck Jobs for a Project

Posted by in IT, Software, Tutorial

Now that we Rundeck have a list of project names, we might want to see which jobs were created for each project. To do this, we need:

  1. The Rundeck instance’s address (server, port)
  2. The API key (api_key)
  3. A project’s name (project_name)

First, we need to get the list of jobs for a project:

The result is also an XML, just like the one for the projects. Therefore, we need to parse it:

At the end of this exercise, we’ll have a list of job names (IDs).

HTH,


A little experiment: If you find this post and ad below useful, please check the ad out :-)