diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-18 23:02:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-18 23:02:30 +0300 |
commit | 41fe97390ceddf945f3d967b8fdb3de4c66b7dea (patch) | |
tree | 9c8d89a8624828992f06d892cd2f43818ff5dcc8 /app/serializers/pipeline_details_entity.rb | |
parent | 0804d2dc31052fb45a1efecedc8e06ce9bc32862 (diff) |
Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42
Diffstat (limited to 'app/serializers/pipeline_details_entity.rb')
-rw-r--r-- | app/serializers/pipeline_details_entity.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/serializers/pipeline_details_entity.rb b/app/serializers/pipeline_details_entity.rb index f459e700c03..76797a773b5 100644 --- a/app/serializers/pipeline_details_entity.rb +++ b/app/serializers/pipeline_details_entity.rb @@ -10,11 +10,6 @@ class PipelineDetailsEntity < Ci::PipelineEntity expose :details do expose :manual_actions, using: BuildActionEntity expose :scheduled_actions, using: BuildActionEntity - expose :code_quality_build_path, if: -> (_, options) { options[:code_quality_walkthrough] } do |pipeline| - next unless code_quality_build = pipeline.builds.finished.find_by_name('code_quality') - - project_job_path(pipeline.project, code_quality_build, code_quality_walkthrough: true) - end end expose :triggered_by_pipeline, as: :triggered_by, with: TriggeredPipelineEntity |