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.

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

      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.

          [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.

          cszabo1 created issue -
          evernat made changes -
          Link New: This issue duplicates JENKINS-10414 [ JENKINS-10414 ]
          evernat made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 136669 ] New: JNJira + In-Review [ 187257 ]

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

              Created:
              Updated:
              Resolved: