summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorNick Huanca <nick.huanca@gmail.com>2013-09-03 21:35:57 -0600
committerNick Huanca <nick.huanca@gmail.com>2013-09-03 21:35:57 -0600
commitcd9d7dd8701d916842034d3d2f0f687f88157bdf (patch)
tree2961f525ff7fc8bdb6ac56adc8af7dfb9f556e57 /lib/api/entities.rb
parent7626602f75b3ace16eb963672b12d2047f92a628 (diff)
downloadgitlab-ci-cd9d7dd8701d916842034d3d2f0f687f88157bdf.tar.gz
adding before commit to available info for build.
adding before commit to available info for build. will help with diff for using like post-receive hook (oldrev / newrev)
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 68b05cb..bdc9e09 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -1,7 +1,7 @@
module API
module Entities
class Build < Grape::Entity
- expose :id, :commands, :path, :ref, :sha, :project_id, :repo_url
+ expose :id, :commands, :path, :ref, :sha, :project_id, :repo_url, :before_sha
end
class Runner < Grape::Entity