summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-08-24 08:29:54 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-08-24 08:29:54 +0000
commit39b5bd69ba575351f9ca4a4048acece296b9e715 (patch)
tree4b9650b7355a19af99a33b0787d20a6f67fc010d /doc
parent93ad83443a4d3b929e817d0dce174cda9aff3393 (diff)
parenta99b2d8e124167cad134fb7cad104a922a57299c (diff)
downloadgitlab-ce-39b5bd69ba575351f9ca4a4048acece296b9e715.tar.gz
Merge branch 'zj-add-pipeline-source-variable' into 'master'
Expose CI_PIPELINE_SOURCE on CI jobs Closes #34165 See merge request !13759
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/variables/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md
index 22e7f6879ed..e55a92dbb71 100644
--- a/doc/ci/variables/README.md
+++ b/doc/ci/variables/README.md
@@ -57,6 +57,7 @@ future GitLab releases.**
| **CI_RUNNER_TAGS** | 8.10 | 0.5 | The defined runner tags |
| **CI_PIPELINE_ID** | 8.10 | 0.5 | The unique id of the current pipeline that GitLab CI uses internally |
| **CI_PIPELINE_TRIGGERED** | all | all | The flag to indicate that job was [triggered] |
+| **CI_PIPELINE_SOURCE** | 10.0 | all | The source for this pipeline, one of: push, web, trigger, schedule, api, external. Pipelines created before 9.5 will have unknown as source |
| **CI_PROJECT_DIR** | all | all | The full path where the repository is cloned and where the job is run |
| **CI_PROJECT_ID** | all | all | The unique id of the current project that GitLab CI uses internally |
| **CI_PROJECT_NAME** | 8.10 | 0.5 | The project name that is currently being built (actually it is project folder name) |