Skip to content

GitLab Variables Reference

Controls which janitor command is executed in the template runner script.

ValueExecuted command
defaultjanitor
autojanitor --auto-commit
nonejanitor --no-commit

Any other value fails the job with:

JANITOR_COMMIT_MODE must be one of: auto, none, default

Used only for template maintenance.

  • Set to "1" to enable template self-test jobs that validate command mapping behavior.
  • Leave unset in normal consumer pipelines.