-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
workflow-durable-task-step 2.24
When a pipeline resumes inside of a node block, the task that gets queued in Jenkins to restart the build is an ExecutorStepExecution.PlaceholderTask. When a custom QueueTaskDispatcher is in use, the Queue.BuildableItem passed to methods such as canTake will be an instance of ExecutorStepExecution.PlaceholderTask. However, calling getOwnerTask on the item does not return the WorkflowJob for the Pipeline and instead returns the ExecutorStepExecution.PlaceholderTask instance here, which means that some custom QueueTaskDispatcher instances may not be able to correctly dispatch Pipeline jobs after they are restarted.
- is duplicated by
-
JENKINS-48317 Pipeline builds waits to resume infinitely
- Closed
- links to