accesses to shared resources, etc. For example: options { disableConcurrentBuilds() } 

## overrideIndexTriggers 

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. 

## skipDefaultCheckout 

Skip checking out code from source control by default in the agent  directive. For example: options { skipDefaultCheckout() } 

## skipStagesAfterUnstable 

Skip stages once the build status has gone to UNSTABLE. For example: options { skipStagesAfterUnstable() } 

## timeout 

Set a timeout period for the Pipeline run, after which Jenkins should abort the Pipeline. For example: options { timeout(time: 1, unit: 'HOURS') } 

## retry 

On failure, retry the entire Pipeline the specified number of times. For example: options { retry(3) } 

## timestamps 

Prepend all console output generated by the Pipeline run with the time at which the line was emitted. For example: options { timestamps() } 

## Example 

// Declarative // pipeline { agent any options { timeout(time: 1, unit: 'HOURS') ① } stages { stage('Example') { steps { echo 'Hello World' } } } } // Script // 

① Specifying a global execution timeout of one hour, after which Jenkins will abort the Pipeline run. 

