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

jenkins api to find status of a job(active/disabled)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      jenkins 2.89.4 on centos 7 server
    • Similar Issues:

      Description

      i am looking for a jenkins API that will provide me the job names along with job status(active/disabled)

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Jenkins ROOT API allows doing it AFAIK.
            See query examples here, for example: https://stackoverflow.com/questions/25687925/jenkins-api-get-a-list-of-jobs-filtered-by-build-parameter-what-jobs-have-bui

            But it will not work easily if you have folders. For such case there is JENKINS-39774 created by Victor Martinez

            Show
            oleg_nenashev Oleg Nenashev added a comment - Jenkins ROOT API allows doing it AFAIK. See query examples here, for example: https://stackoverflow.com/questions/25687925/jenkins-api-get-a-list-of-jobs-filtered-by-build-parameter-what-jobs-have-bui But it will not work easily if you have folders. For such case there is JENKINS-39774 created by Victor Martinez

              People

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

                Dates

                • Created:
                  Updated: