Jenkins Declarative Pipeline: Using the Options Block for Build Resilience Without Custom Logic
Use Declarative Pipeline's options block to add timeout and retry logic without custom shell wrappers, improving build resilience on Jenkins LTS 2.x and later.