Permalink
Browse files

Merge pull request #112 from DejaAugustine/2-0-stable

Pass the build ref to build scripts
  • Loading branch information...
2 parents 5fd3c03 + 85982d1 commit 74c831f3bdcbddc190751a614a378ac5dbd3a25c @dzaporozhets dzaporozhets committed Feb 24, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/runner.rb
View
@@ -84,7 +84,8 @@ def command(cmd, path)
@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

0 comments on commit 74c831f

Please sign in to comment.