summaryrefslogtreecommitdiff
path: root/doc/ci
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-03-07 17:37:05 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-03-07 17:37:05 +0100
commit993a1edd4f0501fa8af261e9a81d8d9f200ac3b0 (patch)
tree9220acd0ed228fd18954dab8e015f1fda9b0a5c8 /doc/ci
parent9c25404ac0d0d960524cc8fd731ff205ba96e663 (diff)
downloadgitlab-ce-993a1edd4f0501fa8af261e9a81d8d9f200ac3b0.tar.gz
Rename REF to SHA
Diffstat (limited to 'doc/ci')
-rw-r--r--doc/ci/variables/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md
index ec3493776e8..4c3e7c4e86e 100644
--- a/doc/ci/variables/README.md
+++ b/doc/ci/variables/README.md
@@ -38,7 +38,7 @@ version of Runner required.
| **CI_BUILD_ID** | all | all | The unique id of the current job that GitLab CI uses internally. Deprecated, use CI_JOB_ID |
| **CI_JOB_ID** | 9.0 | all | The unique id of the current job that GitLab CI uses internally |
| **CI_BUILD_REF** | all | all | The commit revision for which project is built. Deprecated, use CI_COMMIT_REF |
-| **CI_COMMIT_REF** | 9.0 | all | The commit revision for which project is built |
+| **CI_COMMIT_SHA** | 9.0 | all | The commit revision for which project is built |
| **CI_BUILD_TAG** | all | 0.5 | The commit tag name. Present only when building tags. Deprecated, use CI_COMMIT_TAG |
| **CI_COMMIT_TAG** | 9.0 | 0.5 | The commit tag name. Present only when building tags. |
| **CI_BUILD_NAME** | all | 0.5 | The name of the job as defined in `.gitlab-ci.yml`. Deprecated, use CI_JOB_NAME |
@@ -84,7 +84,7 @@ Example values:
```bash
export CI_JOB_ID="50"
-export CI_COMMIT_REF="1ecfd275763eff1d6b4844ea3168962458c9f27a"
+export CI_COMMIT_SHA="1ecfd275763eff1d6b4844ea3168962458c9f27a"
export CI_COMMIT_REF_NAME="master"
export CI_REPOSITORY="https://gitab-ci-token:abcde-1234ABCD5678ef@example.com/gitlab-org/gitlab-ce.git"
export CI_COMMIT_TAG="1.0.0"