accesses to shared resources, etc. For example:  options { disableConcurrentBuilds() } Allows overriding default treatment of branch indexing triggers. If branch indexing triggers are disabled at the multibranch or organization label,  options { overrideIndexTriggers(true) }  will enable them for this job only. Otherwise,  options { overrideIndexTriggers(false) }  will disable branch indexing triggers for this job only. Skip checking out code from source control by default in the  agent  directive. For example: options { skipDefaultCheckout() } Skip stages once the build status has gone to UNSTABLE. For example:  options { skipStagesAfterUnstable() } Set a timeout period for the Pipeline run, after which Jenkins should abort the Pipeline. For example:  options { timeout(time: 1, unit: 'HOURS') } On failure, retry the entire Pipeline the specified number of times. For example:  options { retry(3) } Prepend all console output generated by the Pipeline run with the time at which the line was emitted. For example:  options { timestamps() } ① Specifying a global execution timeout of one hour, after which Jenkins will abort the Pipeline run. // Declarative // pipeline { agent any options { timeout(time: 1, unit: 'HOURS')  ① } stages { stage('Example') { steps { echo 'Hello World' } } } } // Script // Example timestamps retry timeout skipStagesAfterUnstable skipDefaultCheckout overrideIndexTriggers 90