• 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

          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

          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

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

              Created:
              Updated:
              Resolved: