summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorSteve Azzopardi <steveazz@outlook.com>2018-09-06 12:21:58 +0200
committerSteve Azzopardi <steveazz@outlook.com>2018-09-13 17:31:52 +0200
commitc80abb40fcb3b2dc35c62aa30d374f2889247746 (patch)
tree6f966cd0fa0d3f6f9c139c89d00f00e1de873ce6 /app/controllers
parentc7d1eef671dbf598814a6c2ff1f81b924583ae8a (diff)
downloadgitlab-ce-c80abb40fcb3b2dc35c62aa30d374f2889247746.tar.gz
Add retried jobs to pipeline stages
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50461
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