GitLab CI/CD 1 · Pipeline basics

Define variables

Set variables for the whole pipeline or for one job. Store secrets in the project's CI/CD settings, not in this file.

variables:
  NODE_ENV: production

build-job:
  variables:
    LOG_LEVEL: debug

Official GitLab CI/CD 1 documentation

More pipeline basics commands

All pipeline basics commands · GitLab CI/CD 1 cheatsheet

Was this page helpful?