Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3004

Unable to cancel pending jobs (since issue #291)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None
    • Platform: All, OS: All

      Set quiet period high enough that you can see builds waiting in the build queue
      on the main Hudson page (or manually trigger a build with /build?delay=60sec or
      something). The items shown in the build queue are links, with target URLs like:
      /job/Test//parameters/queued/1234197302205/
      which gets a 404 when clicked.

      More importantly, the cancelQueue link shown here doesn't work. NOTE: prior to
      issue #291 being committed, the link on the job name already didn't work, but
      the cancel link DID work.

      Another problem: during this quiet period, the build history list on the job
      page doesn't show a Pending build (with a cancel X).

          [JENKINS-3004] Unable to cancel pending jobs (since issue #291)

          Alan Harder added a comment -

          .

          Alan Harder added a comment - .

          huybrechts added a comment -

          ok, I should have expected this...

          The patch for #291 essentially turns every build into a parameterized build
          below the covers. Unfortunately the canceling of a parametrized build is
          implemented by ParametersDefinitionProperty which only exists when the project
          in question is actually parameterized.

          For the other problem: haven't looked into it, but I'm quite sure it is also
          because we now queue ParameterizedTasks instead of AbstractProject.

          huybrechts added a comment - ok, I should have expected this... The patch for #291 essentially turns every build into a parameterized build below the covers. Unfortunately the canceling of a parametrized build is implemented by ParametersDefinitionProperty which only exists when the project in question is actually parameterized. For the other problem: haven't looked into it, but I'm quite sure it is also because we now queue ParameterizedTasks instead of AbstractProject.

          huybrechts added a comment -

          working on it

          huybrechts added a comment - working on it

          huybrechts added a comment -

          the fix for 2997 fixes this too

          huybrechts added a comment - the fix for 2997 fixes this too

          Alan Harder added a comment -

          tested and confirmed that #2997 fixes did resolve this too.

          Alan Harder added a comment - tested and confirmed that #2997 fixes did resolve this too.

            mdonohue mdonohue
            mindless Alan Harder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: