What is a Jenkins pipeline durability setting?

AdvancedConceptJenkins
Answer

Durability controls how often the pipeline's state is flushed to disk. MAX_SURVIVABILITY (default) writes on every step so a restart resumes the build exactly; SURVIVABLE_NONATOMIC and PERFORMANCE_OPTIMIZED write less, which cuts disk I/O significantly for pipelines with many steps but means a controller crash or hard restart can fail running builds.

options { durabilityHint('PERFORMANCE_OPTIMIZED') }

We use performance-optimised for fast CI jobs on busy controllers, and keep the default for long-running release pipelines.

All CI/CD questions

More on Jenkins