summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-04 13:43:43 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-04 13:43:43 +0000
commit30dbd71e352f99699483a93a389fd6b19e6fe244 (patch)
tree36dbd4d73841738b2d99c97a5ade1650fc5fa756 /README.md
parentbf65da1769de24020f073eb29dbe2e39a0296100 (diff)
parentf3b4f0a1dd46dced7186a3d8bd25a877264bbf94 (diff)
downloadgitlab-ci-30dbd71e352f99699483a93a389fd6b19e6fe244.tar.gz
Merge branch 'build-env' of /home/git/repositories/gitlab/gitlab-ci
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 31269e5..c99a526 100644
--- a/README.md
+++ b/README.md
@@ -106,6 +106,11 @@ Build script example:
bundle exec rake db:migrate RAILS_ENV=test
script/run_all_tests
+The build command is run from [GitlabCi::Build#command](https://github.com/gitlabhq/gitlab-ci-runner/blob/master/lib/build.rb#L96) and contains the following environmental variables:
+
+ CI_SERVER, CI_SERVER_NAME, CI_SERVER_VERSION, CI_SERVER_REVISION
+ CI_BUILD_REF, CI_BUILD_BEFORE_SHA, CI_BUILD_REF_NAME, CI_BUILD_ID
+
### Getting help
* [Feedback and suggestions forum](http://feedback.gitlab.com/forums/176466-general/category/64310-gitlab-ci) is the place to propose and discuss new features for GitLab CI.