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

There is no clean way to find out the id of a job in the queue so that it can be programatically deleted.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • core
    • None

    Description

      The id field in hudson.model.Queue.Item is missing the @Export attribute, hence it is never shown in the xmls generated by the remote API.
      Hence there is no clean way of obtaining this id used in the /queue/item/<id>/cleanQueue API.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cszabo1 cszabo1
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: