summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-17 09:01:12 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-17 09:01:12 +0000
commitcdc4cd09e74bebf52250581dcbd99cfd8848aaeb (patch)
treef1cd11e9c147974e85d07ba94d9bff7959a4f19c /app/controllers
parente1b0ac5b8fc523ddbfbda1f8a30888b61b82374e (diff)
parentc80abb40fcb3b2dc35c62aa30d374f2889247746 (diff)
downloadgitlab-ce-cdc4cd09e74bebf52250581dcbd99cfd8848aaeb.tar.gz
Merge branch '50461-add-retried-builds-in-pipeline-stage-endpoint' into 'master'
Add retried jobs to pipeline stages Closes #50461 See merge request gitlab-org/gitlab-ce!21558
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/pipelines_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb
index 2cc721dfeec..5b2091d68f8 100644
--- a/app/controllers/projects/pipelines_controller.rb
+++ b/app/controllers/projects/pipelines_controller.rb
@@ -96,7 +96,7 @@ class Projects::PipelinesController < Projects::ApplicationController
render json: StageSerializer
.new(project: @project, current_user: @current_user)
- .represent(@stage, details: true)
+ .represent(@stage, details: true, retried: params[:retried])
end
# TODO: This endpoint is used by mini-pipeline-graph