Commit 0a80e504 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix support for external_url for commit statuses

parent a4a3da76
......@@ -5,7 +5,7 @@ class BuildEntity < Grape::Entity
expose :name
expose :build_path do |build|
path_to(:namespace_project_job, build)
build.external_url || path_to(:namespace_project_job, build)
end
expose :retry_path, if: -> (*) { retryable? } do |build|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment