For the complete documentation index, see llms.txt. This page is also available as Markdown.

What's supported by Harness CI

Platforms and technologies supported by Harness CI

This page describes supported platforms and technologies for Harness CI specifically.

For information about what's supported for other Harness modules and the Harness Platform overall, go to Supported platforms and technologies.

Harness CI supported platforms and technologies

Harness CI features

For an overview of key CI features, go to Harness CI overview and Harness CI key concepts.

For information about upcoming and recently released features, go to the CI product roadmap, CI release notes.

Harness CI early access features

Some Harness CI features are released behind feature flags to get feedback from a subset of customers before releasing the features to general availability.

You can opt-in to the early access (beta) features for Harness CI described in the following table. Contact Harness Support to enable specific early access features in your Harness account. Include the feature flag or name with your request.

Flag
Description
Availability

CI_ENABLE_OUTPUT_SECRETS

Type selection for output variables in Run steps.

Beta

CI_USE_LESS_STRICT_EVALUATION_FOR_MAP_VARS

Allows empty environment variables in CI pipelines.

Beta

CI_USE_LESS_STRICT_EVALUATION_FOR_MAP_VARS

Allows empty environment variables in CI pipelines.

Beta

CI_ENABLE_VM_DELEGATE_SELECTOR

Delegate selectors for self-managed VM build infrastructures (CI-11545).

With this feature flag enabled, you can use delegate selectors with self-managed VM build infrastructure.

Beta

CI_CODEBASE_SELECTOR

Delegate selectors for codebase tasks (CI-9980).

Without this feature flag enabled, delegate selectors aren't applied to delegate-related CI codebase tasks.

With this feature flag enabled, Harness uses your delegate selectors for delegate-related codebase tasks. Delegate selection for these tasks takes precedence in order of pipeline selectors over connector selectors.

Beta

CI_OUTPUT_VARIABLES_AS_ENV

Output variables automatically become environment variables (CI-7817, ZD-39203).

With this feature flag enabled, output variables from steps are automatically available as environment variables for other steps in the same Build (CI) stage. This means that, if you have a Build stage with three steps, an output variable produced from step one is automatically available as an environment variable for steps two and three.

In other steps in the same stage, you can refer to the output variable by its key without additional identification. For example, an output variable called MY_VAR can be referenced later as simply $MY_VAR. Without this feature flag enabled, you must use an expression to reference where the variable originated, such as <+steps.stepID.output.outputVariables.MY_VAR>.

For more information on this feature, go to the documentation on Output variables.

Beta

CI_REMOTE_DEBUG

Remote debugging (CI-8135, CI-8048)

Harness CI now supports remote debugging in certain scenarios. You can re-run builds in debug mode through the Builds, Execution, and Execution History pages of the Harness UI. For more information, go to Debug mode.

Update (June 2023): Debug mode now supports Python, PowerShell Core (pwsh), and debugging in local runner build infrastructures. Debug mode is not supported in the Self-Managed Enterprise Edition. For more information, go to Debug with SSH

Beta

CI_INCREASE_DEFAULT_RESOURCES

Used to adjust resource allocation limits. This feature flag increases maximum CPU to 1000m and maximum memory to 3000Mi.

Beta

CI_CONSERVATIVE_K8_RESOURCE_LIMITS

Used to adjust resource allocation limits. This feature flag sets lite engine resource limits to the default minimum (100m CPU and 100Mi memory).

Beta

CI_REMOVE_FQN_DEPENDENCY

This flag is useful for steps that use a private Docker registry. With this flag enabled, the step uses the URI specified in the Docker connector. This means you don't need to specify the Fully Qualified Name in the Image field. This change applies to the following steps: Plugin, Background, Run, Run Tests, and Test Intelligence.

Beta

CI_EXTRA_ADDON_RESOURCE

Used to speed up CI builds by adding more resources for running 'addon`.

Beta

CI_OVERRIDE_SERVICE_URLS

Using this flag overrides all Harness service URLs (e.g. TI Service, Log Service, etc.). These URLs will be derived from the manager URL

Beta

CI_POPULATE_CI_VARIABLE

Enforces that the environment variable CI is always true for all builds.

Beta

CI_IGNORE_TEST_CONNECTION

Skip connector preflight checks (CI-13806).

When this account-level feature flag is enabled along with the ignoreTestConnection: true property in a connector's YAML configuration, connection tests will always return as successful, bypassing actual connectivity validation. This is useful when network restrictions, split DNS, or firewall policies prevent connection tests from succeeding even though the connector can function properly at runtime. For more information, go to Create a connector using YAML.

Beta

CI_SCM_TASK_TIMEOUT_CONFIGURABLE

Increase SCM codebase task timeout (CI-22015).

Without this feature flag enabled, the SCM codebase task that fetches pull request, branch, or commit metadata uses a 30-second timeout. With this feature flag enabled, Harness uses a 180-second timeout for this task. Enable this flag for accounts with large pull requests or slow Git providers where the default 30-second timeout results in pipeline failures with the error Failed to retrieve codebase info from returned delegate response.

Beta

Last updated

Was this helpful?