summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/runner.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/runner.rb b/lib/runner.rb
index 9761f23..e6e3f8d 100644
--- a/lib/runner.rb
+++ b/lib/runner.rb
@@ -84,7 +84,8 @@ class Runner
@process.environment['BUNDLE_GEMFILE'] = File.join(path, 'Gemfile')
@process.environment['BUNDLE_BIN_PATH'] = ''
@process.environment['RUBYOPT'] = ''
-
+ @process.environment['CI_BUILD_REF'] = build.ref
+
@process.start
build.set_file @tmp_file.path