summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-06-25 01:19:11 +0000
committerEvan Read <eread@gitlab.com>2019-06-25 01:19:11 +0000
commitdb6fbee83f63de28d3c2dd5b176359c6371b7832 (patch)
treea1e4853d496d79841c86eb37153a051c706ce96b
parentdb9783f7826ed5ba58a8941dd80a1cd7dda517b0 (diff)
parent18c155012e99d4e98a5f87f47e25c7c48bd1b58f (diff)
downloadgitlab-ce-db6fbee83f63de28d3c2dd5b176359c6371b7832.tar.gz
Merge branch 'docs-blunceford-before-sha-fix' into 'master'
Updated explanation of CI_COMMIT_BEFORE_SHA variable See merge request gitlab-org/gitlab-ce!29913
-rw-r--r--doc/ci/variables/predefined_variables.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ci/variables/predefined_variables.md b/doc/ci/variables/predefined_variables.md
index 4655eec51de..7dbb9af2869 100644
--- a/doc/ci/variables/predefined_variables.md
+++ b/doc/ci/variables/predefined_variables.md
@@ -30,7 +30,7 @@ future GitLab releases.**
| `CI_BUILDS_DIR` | all | 11.10 | Top-level directory where builds are executed. |
| `CI_CONCURRENT_ID` | all | 11.10 | Unique ID of build execution within a single executor. |
| `CI_CONCURRENT_PROJECT_ID` | all | 11.10 | Unique ID of build execution within a single executor and project. |
-| `CI_COMMIT_BEFORE_SHA` | 11.2 | all | The previous latest commit present on a branch before a push request. |
+| `CI_COMMIT_BEFORE_SHA` | 11.2 | all | The previous latest commit present on a branch before a push request. Only populated when there is a merge request associated with the pipeline. |
| `CI_COMMIT_DESCRIPTION` | 10.8 | all | The description of the commit: the message without first line, if the title is shorter than 100 characters; full message in other case. |
| `CI_COMMIT_MESSAGE` | 10.8 | all | The full commit message. |
| `CI_COMMIT_REF_NAME` | 9.0 | all | The branch or tag name for which project is built |