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

FutureImpl does not cancel it`s start future

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      FutureImpl does not cancel its attribute start, which is AsyncFutureImpl instance for identification that task is running.

      methos setAsCancelled() should cancel its attribute start too.

      It causes bug in method getStartCondition() in case cancellation of job in queue. Because start AssyncFuturaImpl is not set as cancelled and thread wich called getStartCondition() wait forever when job is cancelled in queue, because start is never cancelled.

      It can be seen in Build flow plugin.

            lvotypkova Lucie Votypkova
            lvotypkova Lucie Votypkova
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: