diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 06:10:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 06:10:25 +0300 |
commit | bd1e3cbdeb153c9bf73abe3ba7bf3ecb7d203719 (patch) | |
tree | 6a71d0d6e4a71035058d662a9ed1c0dfbd92fff6 /doc/ci/jobs | |
parent | 6aead03bb3056c7ee0104311236c2ae06f0e2d18 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/jobs')
-rw-r--r-- | doc/ci/jobs/job_control.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ci/jobs/job_control.md b/doc/ci/jobs/job_control.md index 734ec4b5193..9efa63e072c 100644 --- a/doc/ci/jobs/job_control.md +++ b/doc/ci/jobs/job_control.md @@ -85,6 +85,9 @@ job1: - ($CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "develop") && $MY_VARIABLE ``` +When multiple entries are specified in `only:variables`, the job runs when at least one of them evaluates to `true`. +You can use `&&` in a single entry when multiple conditions must be satisfied at the same time. + ### `only:changes` / `except:changes` examples You can skip a job if a change is detected in any file with a |