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
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • 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

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: