• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cli
    • None

      When we request the queue api we don't have the item number for each build in queue.

      If it was displayed, we could request the queue api in xml and then automatically cancel a job by a HTTP request :
      http://myserver.com/jenkins/queue/item/XX/CancelQueue

          [JENKINS-10414] Add the item number in queue API

          Nicolas Godelu created issue -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/Queue.java
          http://jenkins-ci.org/commit/jenkins/af89f5e9097cb979de5d5c39aaa9d8976d314d9b
          Log:
          [FIXED JENKINS-10414] expose the item ID

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/Queue.java http://jenkins-ci.org/commit/jenkins/af89f5e9097cb979de5d5c39aaa9d8976d314d9b Log: [FIXED JENKINS-10414] expose the item ID
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          dogfood added a comment -

          Integrated in jenkins_main_trunk #1036
          [FIXED JENKINS-10414] expose the item ID

          Kohsuke Kawaguchi : af89f5e9097cb979de5d5c39aaa9d8976d314d9b
          Files :

          • core/src/main/java/hudson/model/Queue.java
          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #1036 [FIXED JENKINS-10414] expose the item ID Kohsuke Kawaguchi : af89f5e9097cb979de5d5c39aaa9d8976d314d9b Files : core/src/main/java/hudson/model/Queue.java changelog.html

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/Queue.java
          http://jenkins-ci.org/commit/jenkins/af89f5e9097cb979de5d5c39aaa9d8976d314d9b
          Log:
          [FIXED JENKINS-10414] expose the item ID

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/Queue.java http://jenkins-ci.org/commit/jenkins/af89f5e9097cb979de5d5c39aaa9d8976d314d9b Log: [FIXED JENKINS-10414] expose the item ID

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/model/Queue.java
          http://jenkins-ci.org/commit/jenkins/af89f5e9097cb979de5d5c39aaa9d8976d314d9b
          Log:
          [FIXED JENKINS-10414] expose the item ID

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/model/Queue.java http://jenkins-ci.org/commit/jenkins/af89f5e9097cb979de5d5c39aaa9d8976d314d9b Log: [FIXED JENKINS-10414] expose the item ID
          evernat made changes -
          Link New: This issue is duplicated by JENKINS-10413 [ JENKINS-10413 ]
          evernat made changes -
          Link New: This issue is duplicated by JENKINS-6574 [ JENKINS-6574 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 140606 ] New: JNJira + In-Review [ 189150 ]

            Unassigned Unassigned
            nicolas_godelu Nicolas Godelu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: