BigW Consortium Gitlab

Commit b33fd0ab by Grzegorz Bizon

Fix detailed status for pipeline stage entity

parent ccea4727
......@@ -2,7 +2,11 @@ class PipelineStageEntity < Grape::Entity
include RequestAwareEntity
expose :name
expose :detailed_status, as: :status, using: StatusEntity
expose :status do |stage, options|
StatusEntity.represent(
stage.detailed_status(request.user),
options)
end
expose :path do |stage|
namespace_project_pipeline_path(
......
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