CloudBees Unify groups variables and secrets into environments for consistent reuse across workflows and jobs. An environment defines the target infrastructure where artifacts are deployed and enables interaction with deployed applications.
Workflow jobs reference environments using the environment
keyword. These bindings enhance job behavior with approval flows or inject environment-specific secrets and properties into job execution.
-
Purpose: Define configuration profiles for deployment stages or contexts (e.g.,
dev-env
,qa-env
,staging-env
,production-env
). -
Centralized Management: Store key-value pairs in each environment. Variables: Hold non-sensitive values such as
API_URL
orDATABASE_NAME
. -
Secrets: Contain sensitive data such as
DB_PASSWORD
orAPI_KEY
. CloudBees Unify secures these values and integrates with secret management tools. -
Reusability: Attach environments to workflows, jobs, or steps. The product automatically applies the correct configuration based on the associated environment.
Additional references: