Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-05-25 17:58:51 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-05-25 18:08:11 +0300
commit88ba7a034be6c2a93c495edd1d1db08ec6d98bb3 (patch)
treed887a6e81da91944756d9cd84ef3b20d7d83a653 /doc/ci/environments.md
parent86cd09f5d15d7d97f325e2464de8fc4753d54602 (diff)
Pass external_url from environment if job doesn't have one
Also update the document and add a changelog entry
Diffstat (limited to 'doc/ci/environments.md')
-rw-r--r--doc/ci/environments.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ci/environments.md b/doc/ci/environments.md
index 169e0fbae3d..3393030210e 100644
--- a/doc/ci/environments.md
+++ b/doc/ci/environments.md
@@ -94,6 +94,12 @@ the name given in `.gitlab-ci.yml` (with any variables expanded), while the
second is a "cleaned-up" version of the name, suitable for use in URLs, DNS,
etc.
+>**Note:**
+Starting with GitLab 9.3, the environment URL is exposed to the Runner via
+`$CI_ENVIRONMENT_URL`. The URL would be expanded from `.gitlab-ci.yml`, or if
+the URL was not defined there, the external URL from the environment would be
+used.
+
To sum up, with the above `.gitlab-ci.yml` we have achieved that:
- All branches will run the `test` and `build` jobs.