Optimize Your CI/CD Pipeline
Get instant insights into your CI/CD performance and costs. Reduce build times by up to 45% and save on infrastructure costs.
jenkins-plugin-cli --plugins durable-task:555.v6802fe0f0b_82
Durable Task
Async tasks endure agent disconnections.
What is Durable Task Plugin?
The DurableTask serves as an extension point, defining tasks that can run asynchronously on a build node and endure slave agent disconnections.
Why Use Durable Task Plugin?
The Durable Task plugin provides a robust solution for executing tasks asynchronously on Jenkins build nodes, even in the face of slave agent disconnections. By leveraging its capabilities, developers can ensure the reliability and resilience of their build processes. This plugin simplifies task management by offering a straightforward method for launching durable tasks and providing essential functionalities for monitoring and control. Overall, integrating the Durable Task plugin enhances the stability and efficiency of Jenkins pipelines, contributing to smoother development workflows and quicker response times to build issues.
Example Use Case
The Pipeline: Nodes and Processes component, part of the Pipeline Plugin, facilitates the execution of pipeline steps by managing agents and workspaces, as well as running external processes. This functionality includes locking agents and workspaces to ensure exclusive access, as well as executing processes that can persist even through Jenkins restarts or agent reconnections. By leveraging this component, users can effectively orchestrate complex workflows within their Jenkins pipelines, enhancing productivity and reliability.