Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorSteve Azzopardi <steveazz@outlook.com>2018-09-27 10:04:51 +0300
committerSteve Azzopardi <steveazz@outlook.com>2018-09-27 12:40:50 +0300
commit0599a25f9570d7af2c0b76c4165612962a9ccd85 (patch)
tree533bd3556dd80d70b0def83b8bbe8a2e95b5f742 /app
parentc052f5a942152982124315791aad10da5fec11d5 (diff)
Add has_trace to Projects::JobController#show.json
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51925
Diffstat (limited to 'app')
-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 00a441a9a1e..c85b1790e73 100644
--- a/app/serializers/build_details_entity.rb
+++ b/app/serializers/build_details_entity.rb
@@ -7,6 +7,7 @@ class BuildDetailsEntity < JobEntity
expose :coverage, :erased_at, :duration
expose :tag_list, as: :tags
+ expose :has_trace?, as: :has_trace
expose :user, using: UserEntity
expose :runner, using: RunnerEntity
expose :pipeline, using: PipelineEntity