diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-05-25 17:58:51 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-05-25 18:08:11 +0300 |
commit | 88ba7a034be6c2a93c495edd1d1db08ec6d98bb3 (patch) | |
tree | d887a6e81da91944756d9cd84ef3b20d7d83a653 /doc/ci/environments.md | |
parent | 86cd09f5d15d7d97f325e2464de8fc4753d54602 (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.md | 6 |
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. |