jenkinsci / jenkinsci/workflow-durable-task-step-plugin
[JENKINS-71113] AgentErrorCondition should handle "missing workspace" error
- Dominant language
- Java
- Stars
- 46
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
AgentErrorCondition apparently does not handle
hudson.AbortException: missing workspace ... on ...
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.getWorkspace(DurableTaskStep.java:396)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:574)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
at ...
and so retry is not triggered. This can happen when disconnecting and reconnecting an agent, probably dependent on timing.
---
Originally reported by
jglick, imported from: AgentErrorCondition should handle "missing workspace" error
Raw content of original issue
AgentErrorCondition apparently does not handle
hudson.AbortException: missing workspace ... on ...
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.getWorkspace(DurableTaskStep.java:396)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:574)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557)
at ...and so retry is not triggered. This can happen when disconnecting and reconnecting an agent, probably dependent on timing.
Contributor guide
Assessment
This issue has not been assessed yet.