GitLab CI extends:
Jump to navigation
Jump to search
Use extends: doc to reuse configuration sections. It’s an alternative to YAML anchors and is a little more flexible and readable.
- Keyword type: Job keyword. You can use it only as part of a job
extends: .base
Related[edit]
See also[edit]
gitlab-ci.yml[job: | stage: | stages: | artifacts: | include: | script: | when: | only: | needs: | extends:]- GitLab CI, variables, templates, executors,
.gitlab-ci.yml, .gitlab/, Credential helpers, notifications, pipeline editor, Keyword reference, Changelog,ContainersNotReady, GitLab environments,CI_JOB_TOKEN, artifacts:
Advertising: