Extract hard-coded configuration values into variables, parameters, or templates to improve reusability and simplify maintenance. When the same value is used in multiple places or might need to change in the future, define it once and reference it throughout your configuration files.

Examples:

  1. For build scripts with multiple parameters: ```yaml

    Instead of:

Use:

  1. For repeated configuration values: ```yaml

    Define once:

    variables: timeoutPerTestCollection: 180

Reference where needed:

jobParameters: timeoutInMinutes: $ ```

This practice reduces duplication, centralizes configuration management, and makes future updates more efficient and less error-prone.