Skip to content
Snippets Groups Projects
Commit 10ad7950 authored by dosire's avatar dosire
Browse files

Explain that ref name is the branch.

parent 201e4fc9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -110,10 +110,10 @@ 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:
The build command is run from [GitlabCi::Build#command](https://gitlab.com/gitlab-org/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
CI_BUILD_REF, CI_BUILD_BEFORE_SHA, CI_BUILD_REF_NAME (branch), CI_BUILD_ID
 
### Getting help
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment