
Use include:local instead of symbolic links. Use include:local to include a file that is in the same repository as the. gitlab-ci.yml file takes precedence over the included configuration. The two configurations are merged together, and theĬonfiguration in the.

List of tags that are used to select a runner.ĭefine a custom job-level timeout that takes precedence over the project-wide setting. Shell script that is executed by a runner.

List of conditions to evaluate and determine selected attributes of a job, and whether or not it’s created. When and how many times a job can be auto-retried in case of a failure. Instructs the runner to generate a release object. How many instances of a job should be run in parallel. Upload the result of a job to use with GitLab Pages. Select which global defaults all jobs inherit.ĭefines if a job can be canceled when made redundant by a newer run.Įxecute jobs earlier than the stage ordering. Name of an environment to which the job deploys.Ĭonfiguration entries that this job inherits from. Restrict which artifacts are passed to a specific job by providing a list of jobs to fetch artifacts from. Use configuration from DAST profiles on a job level. List of files that should be cached between subsequent runs. Override a set of commands that are executed before job. List of files and directories to attach to a job on success. A failed job does not cause the pipeline to fail. Override a set of commands that are executed after job.Īllow job to fail. Jobs configured with job keywords: Keyword The names and order of the pipeline stages.ĭefine CI/CD variables for all job in the pipeline. Import configuration from other YAML files. Global keywords that configure pipeline behavior: Keyword KeywordsĪ GitLab CI/CD pipeline configuration includes: If you are editing content on this page, follow the instructions for documenting keywords.

gitlab-ci.yml file, you can validate it with the gitlab-ci.yml file used in an enterprise, see the. For a collection of examples, see GitLab CI/CD Examples.For a quick introduction to GitLab CI/CD, follow the quick start guide.This document lists the configuration options for your GitLab. Globally-defined image, services, cache, before_script, after_script.
