Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-05 16:17:42 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-06 16:13:21 +0300
commitd865aedafc2282f898b4bd2fdfd3660c47203c37 (patch)
tree7d0767215b56c61e07380e5d2985e2f7ed72b077 /lib/gitlab/data_builder
parentfa1105b10b4f5dbce46bd72eb6374fe7f8d51f56 (diff)
Introduce `Ci::Stage`, right now this is artificial object that is build dynamically.
Diffstat (limited to 'lib/gitlab/data_builder')
-rw-r--r--lib/gitlab/data_builder/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/data_builder/pipeline.rb b/lib/gitlab/data_builder/pipeline.rb
index 06a783ebc1c..e0284d55da8 100644
--- a/lib/gitlab/data_builder/pipeline.rb
+++ b/lib/gitlab/data_builder/pipeline.rb
@@ -22,7 +22,7 @@ module Gitlab
sha: pipeline.sha,
before_sha: pipeline.before_sha,
status: pipeline.status,
- stages: pipeline.stages,
+ stages: pipeline.stages.map(&:name),
created_at: pipeline.created_at,
finished_at: pipeline.finished_at,
duration: pipeline.duration