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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            cszabo1
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: