Pipelines Environment Variables

When you create a pipeline, you can provide custom environment variables.

Use the environmentVariables parameter when using the SDK, or adding them in the Console when you create or edit a pipeline.

Use the following automatically provided service environment variables within every pipeline step run:

Name Description
PIPELINE_COMPARTMENT_OCID

OCID of the pipeline's compartment.

PIPELINE_OCID

OCID of the pipeline.

PIPELINE_PROJECT_OCID

OCID of the pipeline's project.

PIPELINE_RUN_COMPARTMENT_OCID

OCID of the pipeline run's compartment.

PIPELINE_RUN_OCID

OCID of the pipeline run.

PIPELINE_STEP_NAME

Name of the pipeline step that is executing.

TENANCY_OCID

OCID of the tenant of the pipeline ru.n

Use the following pipeline input environment variables within a pipeline:

Name Description
PIPELINE_STEP_RUN_ENTRYPOINT The file name to execute for the step run (applicable when there are multiple files zipped in the step artifact)
CONDA_ENV_TYPE

Conda environment type.

CONDA_ENV_SLUG

Service conda environment slug.

CONDA_ENV_REGION

Published conda environment region.

CONDA_ENV_OBJECT_NAME

Published conda environment object name.

CONDA_ENV_NAMESPACE

Published conda environment Object Storage namespace.

CONDA_ENV_BUCKET

Published conda environment Object Storage bucket.