summaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorSteve Azzopardi <sazzopardi@gitlab.com>2018-10-12 17:13:41 +0000
committerTim Zallmann <tzallmann@gitlab.com>2018-10-12 17:13:41 +0000
commit464655edb2bc1f78952fb86969405d3c19e35e6b (patch)
tree184780d5d1220221061b8179914d8c70ac4dd01b /app/serializers
parent982aaa04be85b53e686a3a5b6299389a98e5c0a2 (diff)
downloadgitlab-ce-464655edb2bc1f78952fb86969405d3c19e35e6b.tar.gz
Add stage name in job.json response
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/build_details_entity.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/build_details_entity.rb b/app/serializers/build_details_entity.rb
index 3d508a9a407..7bdcfcc38f7 100644
--- a/app/serializers/build_details_entity.rb
+++ b/app/serializers/build_details_entity.rb
@@ -4,6 +4,7 @@ class BuildDetailsEntity < JobEntity
expose :coverage, :erased_at, :duration
expose :tag_list, as: :tags
expose :has_trace?, as: :has_trace
+ expose :stage
expose :user, using: UserEntity
expose :runner, using: RunnerEntity
expose :pipeline, using: PipelineEntity